CN104809020B - A kind of mthods, systems and devices for generating snapshot - Google Patents
A kind of mthods, systems and devices for generating snapshot Download PDFInfo
- Publication number
- CN104809020B CN104809020B CN201510217450.0A CN201510217450A CN104809020B CN 104809020 B CN104809020 B CN 104809020B CN 201510217450 A CN201510217450 A CN 201510217450A CN 104809020 B CN104809020 B CN 104809020B
- Authority
- CN
- China
- Prior art keywords
- snapshot
- virtual machines
- instruction
- application
- deployment services
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present embodiments relate to a kind of method for generating snapshot, computer system and device, it can determine to run the deployment services device disposed described in the more virtual machines applied and the more virtual machines, and send snapshot instruction to the deployment services device of the more virtual machines, the deployment services device of the more virtual machines is instructed according to the snapshot, start the snapshot operation to the more virtual machines at the time point of uniformity, generate the snapshot document at time point of the more virtual machines in uniformity, unified snapshot is carried out so as to fulfill each virtual machine to the operation application, ensure the uniformity of the Backup Data of the application.
Description
Technical field
The present invention relates to computer technology, particularly a kind of mthods, systems and devices for generating snapshot.
Background technology
Virtualization technology is maximized to utilize by the way that multiple operating systems are incorporated on a high-performance deployment services device
All resources of hardware platform, can use less input to realize more applications, not only can may be used also with simplified system architecture
To reduce the difficulty of management resource, it is widely used in computer system.
In virtualization computer system, using being deployed on one or more virtual machine, when application be deleted or due to
It is corresponding if do not adopted an effective measure by such as fire, earthquake, war when irresistible natural disaster is destroyed
Data are backed up in advance, may cause the interruption of whole computer system application and the loss of data, or even can not be extensive
Multiple application, will bring great loss.
The prior art carries out disaster-tolerant backup to the application run on a virtual machine, and the virtual of operation application is determined by administrator
Machine, then successively to virtual machine creating snapshot, finally according to the snapshot of virtual machine, obtains the Backup Data of the virtual machine.It is existing
There is technology to pass through manual operation to determine the relevant virtual machine of application and carry out snapshot operation by granularity of virtual machine, if management
Member not can determine that whole virtual machines, it would be possible to so that the data backup of application is not complete, even in whole void is determined
In the case of plan machine, it is also possible to the inconsistent situation of the snapshot data of each virtual machine can be caused.
The content of the invention
The embodiment of the present invention proposes a kind of mthods, systems and devices for generating snapshot, to realize the snapshot data of application
Uniformity.
In a first aspect, the embodiment of the present invention proposes a kind of method for generating snapshot, this method includes:
It is received as using the request for creating snapshot, described is the mark that the request of application establishment snapshot carries the application,
For being designated as the data creation snapshot of the application;
According to the mark of the application, determine to run more virtual machines of the application;
Determine the deployment services device of the more virtual machines;
Snapshot instruction is sent to the deployment services device of the more virtual machines, the snapshot instruction is used to indicate the deployment
The snapshot operation that server carries out the data of the more virtual machines uniformity is literary to generate the snapshot of the more virtual machines
Part.
With reference to first aspect, in the first possible implementation, described is also to be carried using the request for creating snapshot
Configured information, the configured information is used to indicate the snapshot operation for carrying out the data of the application uniformity, then described to institute
The deployment services device for stating more virtual machines sends snapshot instruction, including:According to the configured information, to the more virtual machines
Deployment services device sends the snapshot instruction.
With reference to first aspect, in second of possible implementation, this method further includes the snapshot policy of preset application,
The snapshot policy instruction of the application carries out the data of the application snapshot operation of uniformity, then described to the more void
The deployment services device of plan machine sends snapshot instruction, including:According to the snapshot policy of the application, to the portion of the more virtual machines
Affix one's name to server and send the snapshot instruction.
With reference to first aspect, second of the possible implementation of the first of first aspect and first aspect it is possible
Implementation, in the third possible implementation, when the definite more deploying virtual machines are on more deployment services devices,
Snapshot instruction then is sent to the deployment services device of the more virtual machines, including:Point at the same time, respectively to described more
Deployment services device sends the snapshot instruction, wherein, the snapshot instruction carries the virtual machine disposed on every deployment services device
Mark and the first information, the first information indicate that the processing priority of the snapshot operation is height;Alternatively, respectively to described
More deployment services devices send the snapshot instruction, wherein, the snapshot instruction carries the void disposed on every deployment services device
The mark of plan machine and the second information, the second information instruction start the snapshot operation at the same time.
Second aspect, the embodiment of the present invention propose a kind of method for generating snapshot, and this method includes:
Backup instruction is received, the backup instruction carries the mark of the application, for indicating the data to the application
Backed up;
Sent to cloud operation server is to carry institute using the request of establishment snapshot, the request that snapshot is created for application
The mark and configured information of application are stated, the snapshot that the configured information is used to indicate to carry out the data of the application uniformity is grasped
Make.
With reference to second aspect, in the first possible implementation, the reception backup instruction, including:User is received to touch
The backup instruction of hair, the backup instruction carry the mark of the application;Alternatively, the backup according to pre-set application
Strategy, periodically generates the backup instruction, and the backup instruction carries the mark of the application.
The third aspect, the embodiment of the present invention propose a kind of method for generating snapshot, and this method includes:
The request of virtual machine creating snapshot is received as, described request more virtual machines of carrying for virtual machine creating snapshot
Mark and configured information, the snapshot that the configured information is used to indicate to carry out the data of the more virtual machines uniformity are grasped
Make;
Determine the deployment services device of the more virtual machines;
According to the configured information, snapshot instruction is sent to the deployment services device of the more virtual machines, the snapshot refers to
Order is used to indicate that snapshot operation of the deployment services device to the data progress uniformity of the more virtual machines is described to generate
The snapshot document of more virtual machines.
With reference to the third aspect, in the first possible implementation, when the definite more deploying virtual machines are in Duo Tai
On deployment services device, then snapshot instruction is sent to the deployment services device of the more virtual machines, including:Point at the same time,
The snapshot is sent to the more deployment services devices respectively to instruct, wherein, the snapshot instruction carries every deployment services device
The mark and the first information of the virtual machine of upper deployment, the first information indicate that the processing priority of the snapshot operation is height;
Instructed alternatively, sending the snapshot to the more deployment services devices respectively, wherein, the snapshot instruction carries every deployment clothes
The mark and the second information for the virtual machine disposed on business device, the second information instruction start the snapshot behaviour at the same time
Make.
Fourth aspect, the embodiment of the present invention propose a kind of method for generating snapshot, and this method includes:
Backup instruction is received, the backup instruction carries the mark of the application, for indicating the data to the application
Backed up;
According to the mark of the application, determine to run more virtual machines of the application;
The request for virtual machine creating snapshot is sent to cloud operation server, the request for virtual machine creating snapshot is taken
Mark and configured information with the more virtual machines, the configured information be used to indicating to the data of the more virtual machines into
The snapshot operation of row uniformity.
With reference to fourth aspect, in the first possible implementation, the reception backup instruction, including:Receive user
The backup instruction of triggering, the backup instruction carry the mark of the application;Alternatively, according to the standby of pre-set application
Part strategy, periodically generates the backup instruction, and the backup instruction carries the mark of the application.
5th aspect, the embodiment of the present invention propose a kind of method for generating snapshot, and this method includes:
Backup instruction is received, the backup instruction carries the mark of the application, for indicating the data to the application
Backed up;
According to the mark of the application, determine to run more virtual machines of the application;
Determine the deployment services device of the more virtual machines;
Snapshot instruction is sent to the deployment services device of the more virtual machines, the snapshot instruction is used to indicate the deployment
The snapshot operation that server carries out the data of the more virtual machines uniformity is literary to generate the snapshot of the more virtual machines
Part.
With reference to the 5th aspect, in the first possible implementation, when the definite more deploying virtual machines are in Duo Tai
On deployment services device, then snapshot instruction is sent to the deployment services device of the more virtual machines, including:Point at the same time,
The snapshot is sent to the more deployment services devices respectively to instruct, wherein, the snapshot instruction carries every deployment services device
The mark and the first information of the virtual machine of upper deployment, the first information indicate that the processing priority of the snapshot operation is height;
Instructed alternatively, sending the snapshot to the more deployment services devices respectively, wherein, the snapshot instruction carries every deployment clothes
The mark and the second information for the virtual machine disposed on business device, the second information instruction start the snapshot behaviour at the same time
Make.
With reference to the 5th aspect and the first possible implementation of the 5th aspect, in second of possible implementation
In, the reception backup instruction, including the backup instruction of user's triggering is received, the backup instruction carries the application
Mark and configured information, the configured information are used to indicate the snapshot operation for carrying out the data of the application uniformity;It is described
Snapshot instruction is sent to the deployment services device of the more virtual machines, including:It is virtual to described more according to the configured information
The deployment services device of machine sends the snapshot instruction.
With reference to second of possible implementation of the 5th aspect, in the third possible implementation, this method is also
The snapshot policy of backup policy and application including preset application, the snapshot policy of the application indicate the data to the application
The snapshot operation of uniformity is carried out, then the reception backup instruction includes:According to the backup policy of the application, timing generates institute
Backup instruction is stated, the backup instruction carries the mark of the application;
The deployment services device to the more virtual machines sends snapshot instruction, including:According to the snapshot of the application
Strategy, sends the snapshot to the deployment services device of the more virtual machines and instructs.
6th aspect, the embodiment of the present invention propose a kind of method for generating snapshot, and this method includes:
Snapshot instruction is received, the snapshot instruction is used to indicate the snapshot operation for carrying out more virtual machines uniformity, root
Instructed according to the snapshot, hang up the write operation of every virtual machine respectively at the time point of uniformity, respectively to described every
The storage volume of platform virtual machine does snapshot to generate the snapshot document of every virtual machine.
With reference to the 6th aspect, in the first possible implementation, snapshot instruction carry virtual machine mark and
The first information, the first information indicate that the processing priority of the snapshot operation is height;It is described to be instructed according to the snapshot,
The time point of uniformity hangs up the write operation of every virtual machine respectively, including:It is excellent according to the processing of the snapshot operation
First level is height, is receiving the first moment of the snapshot instruction, is hanging up the write operation of every virtual machine respectively.
With reference to the 6th aspect, in second of possible implementation, snapshot instruction carry virtual machine mark and
Second information, the second information instruction start the snapshot operation at the same time;It is described to be instructed according to the snapshot,
The time point of uniformity hangs up the write operation of every virtual machine respectively, including:According to second information, in the phase
The same time, the write operation of every virtual machine is hung up respectively.
7th aspect, the embodiment of the present invention propose a kind of device for generating snapshot, which includes:
Receiving unit, for being received as carrying institute using the request for creating snapshot, the request that snapshot is created for application
The mark of application is stated, for being designated as the data creation snapshot of the application;
Determination unit, for the mark according to the application, determines more virtual machines of the operation application, and determines
The deployment services device of the more virtual machines;
Transmitting element, for sending snapshot instruction to the deployment services device of the more virtual machines, the snapshot instruction is used
In the snapshot operation for indicating the deployment services device and being carried out to the data of the more virtual machines uniformity to generate described more
The snapshot document of virtual machine.
With reference to the 7th aspect, in the first possible implementation, described is that the request of application establishment snapshot also carries
Configured information, the configured information are used to indicate the snapshot operation for carrying out the data of the application uniformity;It is described to send list
Member is specifically used for according to the configured information, and sending the snapshot to the deployment services device of the more virtual machines instructs.
With reference to the 7th aspect, in second of possible implementation, described device further includes:Dispensing unit, for pre-
The snapshot policy of application is put, the snapshot policy instruction of the application carries out the data of the application snapshot operation of uniformity;
The transmitting element is specifically used for the snapshot policy according to the preset application of the dispensing unit, to the portion of the more virtual machines
Affix one's name to server and send the snapshot instruction.
Second with reference to the 7th aspect, the first possible implementation of the 7th aspect and the 7th aspect is possible
Implementation, in the third possible implementation, the determination unit is specifically used for determining the more deploying virtual machines
On more deployment services devices;Then, the transmitting element is specifically used for:Point at the same time, is disposed to described more respectively
Server sends the snapshot instruction, wherein, the snapshot instruction carries the mark for the virtual machine disposed on every deployment services device
Know and the first information, the first information indicate that the processing priority of the snapshot operation is height;Alternatively, the transmitting element tool
Body is used for:The snapshot is sent to the more deployment services devices respectively to instruct, wherein, the snapshot instruction carries every deployment
The mark for the virtual machine disposed on server and the second information, the second information instruction start the snapshot at the same time
Operation.
Eighth aspect, the embodiment of the present invention, which proposes a kind of device device for generating snapshot, to be included:
Receiving unit, for receiving backup instruction, the backup instruction carries the mark of the application, for indicating to institute
The data for stating application are backed up;
Transmitting element, for the backup instruction received according to the receiving unit, is to cloud operation server transmission
Using the request for creating snapshot, described is the mark and configured information of asking to carry the application that application creates snapshot, described
Configured information is used to indicate the snapshot operation for carrying out the data of the application uniformity.
With reference to eighth aspect, in the first possible implementation, the receiving unit is specifically used for reception user and touches
The backup instruction of hair, the backup instruction carry the mark of the application;Alternatively, the backup according to pre-set application
Strategy, periodically generates the backup instruction, and the backup instruction carries the mark of the application.
9th aspect, the embodiment of the present invention, which proposes a kind of device device for generating snapshot, to be included:
Receiving unit, for being received as the request of virtual machine creating snapshot, the request for virtual machine creating snapshot is taken
Mark and configured information with more virtual machines, the configured information are used to indicate to carry out one to the data of the more virtual machines
The snapshot operation of cause property;
Determination unit, for determining the deployment services device of the more virtual machines;
Unit is provided, for the instruction letter in the request for virtual machine creating snapshot that is received according to the receiving unit
Breath, sends snapshot instruction, the snapshot instruction is used to indicate to the more void to the deployment services device of the more virtual machines
The data of plan machine carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
With reference to the 9th aspect, in the first possible implementation, the determination unit is used to determine the more void
Plan machine is deployed on more deployment services devices;Then, the offer unit is specifically used for point at the same time, respectively to described more
Platform deployment services device sends the snapshot instruction, wherein, disposed on snapshot instruction every deployment services device of carrying virtual
The mark and the first information of machine, the first information indicate that the processing priority of the snapshot operation is height;Alternatively, the offer
Unit is specifically used for sending the snapshot instruction to the more deployment services devices respectively, wherein, the snapshot instruction carries every
The mark and the second information for the virtual machine disposed on platform deployment services device, the second information instruction start institute at the same time
State snapshot operation.
Tenth aspect, the embodiment of the present invention, which proposes a kind of device device for generating snapshot, to be included:
Receiving unit, for receiving backup instruction, the backup instruction carries the mark of the application, for indicating to institute
The data for stating application are backed up;
Query unit, for the mark according to the application, determines to run more virtual machines of the application;
Transmitting element, it is described to be created for virtual machine for sending the request for virtual machine creating snapshot to cloud operation server
The request for building snapshot carries the mark and configured information of the more virtual machines, and the configured information is used to indicate to described more
The data of virtual machine carry out the snapshot operation of uniformity.
Tenth on the one hand, and the embodiment of the present invention, which proposes a kind of device device for generating snapshot, to be included:
Receiving unit, for receiving backup instruction, the backup instruction carries the mark of the application, for indicating to institute
The data for stating application are backed up;
Determination unit, for the mark according to the application, determines more virtual machines of the operation application and described
The deployment services device of more virtual machines;
Transmitting element, for sending snapshot instruction to the deployment services device of the more virtual machines, the snapshot instruction is used
The snapshot operation that in instruction the data of the more virtual machines are carried out with uniformity is literary to generate the snapshot of the more virtual machines
Part.
With reference to the tenth on the one hand, in the first possible implementation, the determination unit is used to determine described more
Deploying virtual machine is on more deployment services devices;Then, the transmitting element is specifically used for point at the same time, respectively to described
More deployment services devices send the snapshot instruction, wherein, the snapshot instruction carries the void disposed on every deployment services device
The mark and the first information of plan machine, the first information indicate that the processing priority of the snapshot operation is height;Alternatively, the hair
Unit is sent to be specifically used for sending the snapshot instruction to the more deployment services devices respectively, wherein, the snapshot instruction carries
The mark and the second information for the virtual machine disposed on every deployment services device, the second information instruction start at the same time
The snapshot operation.
12nd aspect, the embodiment of the present invention, which proposes a kind of device device for generating snapshot, to be included:
Receiving unit, for receiving snapshot instruction, the snapshot instruction is used to indicate to carry out uniformity to more virtual machines
Snapshot operation;
Snapshot unit, for being instructed according to the snapshot, every virtual machine is hung up at the time point of uniformity respectively
Write operation, snapshot is done to the storage volume of every virtual machine to generate the snapshot document of every virtual machine respectively.
13rd aspect, the embodiment of the present invention, which proposes a kind of system system for generating snapshot, to be included:
Backup server, is that described is that application creates using the request of establishment snapshot for being sent to cloud operation server
The request of snapshot carries the mark of the application, for being designated as the data creation snapshot of the application;
The cloud operates server, is request that application creates snapshot for receiving described, according to the mark of the application,
Determine more virtual machines of the operation application, the deployment services device of the more virtual machines is determined, to the more virtual machines
Deployment services device send snapshot instruction, snapshot instruction is used to indicate the deployment services device to the more virtual machines
Data carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines;
The deployment services device, for receiving the snapshot instruction, instructs, at the time point of uniformity according to the snapshot
The write operation of every virtual machine is hung up respectively, and it is described to generate to do snapshot to the storage volume of every virtual machine respectively
The snapshot document of every virtual machine.
Fourteenth aspect, the embodiment of the present invention, which proposes a kind of system system for generating snapshot, to be included:
Backup server, for receiving backup instruction, the backup instruction carries the mark of the application, for instruction pair
The data of the application are backed up, according to the mark inquiry cloud operation server of the application with the definite operation application
More virtual machines, and the request for virtual machine creating snapshot is sent to cloud operation server, described is virtual machine creating snapshot
Request carry the mark and configured information of the more virtual machines, the configured information is used to indicate to the more virtual machines
Data carry out uniformity snapshot operation;
The cloud operates server, for the application identities carried according to the Query Information of the backup server,
Determine the mark of more virtual machines of the operation application, it is that virtual machine creating is fast to receive the described of the backup server transmission
According to request, the deployment services devices of the more virtual machines is determined, according to the finger in the request for virtual machine creating snapshot
Show information, send snapshot instruction to the deployment services device of the more virtual machines, the snapshot instruction is used to indicate the deployment
The snapshot operation that server carries out the data of the more virtual machines uniformity is literary to generate the snapshot of the more virtual machines
Part;
The deployment services device, the snapshot instruction sent for receiving the cloud operation server, according to described fast
According to instruction, the write operation of every virtual machine is hung up respectively at the time point of uniformity, respectively to every virtual machine
Storage volume do snapshot to generate the snapshot document of every virtual machine.
15th aspect, the embodiment of the present invention, which proposes a kind of system system for generating snapshot, to be included:
Backup server, for receiving backup instruction, the backup instruction carries the mark of the application, for instruction pair
The data of the application are backed up, according to the mark inquiry cloud operation server of the application with the definite operation application
The deployment services device of more virtual machines and the more virtual machines, and sent to the deployment services device of the more virtual machines
Snapshot instructs, and the snapshot instruction is used to indicate that the deployment services device carries out uniformity to the data of the more virtual machines
Snapshot operation is to generate the snapshot document of the more virtual machines;
The cloud operates server, for the mark of the application carried according to the Query Information of the backup server
Know, determine more virtual machines of the operation application, determine the deployment services device of the more virtual machines;
The deployment services device, the snapshot instruction sent for receiving the backup server, according to the snapshot
Instruction, the write operation of every virtual machine is hung up at the time point of uniformity, respectively to every virtual machine respectively
Storage volume does snapshot to generate the snapshot document of every virtual machine.
In an embodiment of the invention, it is possible to achieve snapshot operation is carried out for granularity with application, is being received as application
After the request for creating snapshot, the deployment disposed described in more virtual machines for running application and the more virtual machines is automatically determined
Server, and send snapshot instruction to the deployment services device of the more virtual machines so that the deployment clothes of the more virtual machines
Business device can be instructed according to the snapshot, and the snapshot document of the more virtual machines is generated at same or similar time point,
So as to fulfill the data of application are carried out with unified uniformity snapshot, ensure the uniformity of the snapshot data of the application.
In another embodiment of the invention, it can receive as the request of virtual machine creating snapshot, the virtual machine snapshot
Request carries configured information, and the snapshot that the configured information is used to indicate to carry out the data of the more virtual machines uniformity is grasped
Make, and snapshot instruction is sent to the deployment services device of the more virtual machines according to the configured information so that described more virtual
The deployment services device of machine can be instructed according to the snapshot, and the more virtual machines are generated at same or similar time point
Snapshot document, so as to fulfill the data of application are carried out with unified uniformity snapshot, ensures the one of the snapshot data of the application
Cause property.
In another embodiment of the invention, after the backup instruction of application is received, the more of operation application are automatically determined
The deployment services device disposed described in platform virtual machine and the more virtual machines, and to the deployment services device of the more virtual machines
Send snapshot instruction so that the deployment services device of the more virtual machines can be instructed according to the snapshot, in identical or phase
Near time point generates the snapshot document of the more virtual machines, fast so as to fulfill unified uniformity is carried out to the data of application
According to ensureing the uniformity of the snapshot data of the application.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to required in the prior art or embodiment
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without creative efforts, can also be obtained according to these attached drawings
Other attached drawings.
Fig. 1 (a) and (b) are system block diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of the generation snapshot provided according to embodiments of the present invention;
Fig. 3 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Fig. 4 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Fig. 5 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Fig. 6 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Fig. 7 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Fig. 8 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Fig. 9 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Figure 10 is the method flow diagram of another the generation snapshot provided according to embodiments of the present invention;
Figure 11 is a kind of device composition figure of the generation snapshot provided according to embodiments of the present invention;
Figure 12 is the device composition figure of another the generation snapshot provided according to embodiments of the present invention;
Figure 13 is the device composition figure of another the generation snapshot provided according to embodiments of the present invention;
Figure 14 is the device composition figure of another the generation snapshot provided according to embodiments of the present invention;
Figure 15 is the device composition figure of another the generation snapshot provided according to embodiments of the present invention;
Figure 16 is the device composition figure of another the generation snapshot provided according to embodiments of the present invention;
Figure 17 is the device composition figure of another the generation snapshot provided according to embodiments of the present invention.
Embodiment
, can be to each of operation application an embodiment of the present invention provides a kind of mthods, systems and devices for generating snapshot
Virtual machine carries out the snapshot operation of uniformity, so as to carry out unified snapshot operation to each virtual machine of operation application, realizes
The uniformity of Backup Data.
The time that host (the deployment services device where virtual machine) due to performing snapshot operation starts snapshot operation can be with
Determined according to the task of itself execution, if host (the deployment services device where virtual machine) basis as execution snapshot operation
The operating status and task amount of itself determine the snapshot operation of the data of startup virtual machine, and the priority of snapshot behaviour may be less than
Other tasks are without being performed immediately, since the task performed by the host where every virtual machine and task amount are all different,
Deployment services device where may causing different virtual machine starts the snapshot operation to virtual-machine data at different time points, because
This make it that the Backup Data of each virtual machine is inconsistent.The uniformity of snapshot operation described in the embodiment of the present invention, is primarily referred to as
The uniformity of the time of snapshot operation, i.e., initiate snapshot operation in same or similar time, avoids when being separated by larger
Between point initiate snapshot operation.It should be noted that the uniformity time point described in the embodiment of the present invention mean it is same or like
At time point, not refer to comprising identical time point but only definitely identical time point, the category of similar time is this area
The time error scope for the data consistency that technical staff generally acknowledges, the embodiment of the present invention recommend both time error 30 seconds with
It is interior.
As shown in Fig. 1 (a), to implement an example of the system of the embodiment of the present invention, which includes cloud operation service
Device 101 and deployment services device cluster 110 (the physical machine cluster for being referred to as cloud computing), the deployment services device cluster 110
For providing the resources such as calculating, storage and network for the system, the cloud operation server 101 can be to the money of the system
Source is managed and distributes, wherein, the deployment services device cluster 110 can include one or more deployment services device, Fig. 1
(a) shown with two deployment services devices, i.e. deployment services device A and deployment services device B, the embodiment of the present invention are not limited thereto.
Virtualization modules, such as the virtualization modules 120 of deployment services device A are additionally provided with the deployment services device 110
And the virtualization modules 130 of deployment services device B, the virtualization modules be used for by deployment services device calculating (including place
Reason device, memory), storage and Internet resources be abstracted into multiple virtual machines, each virtual machine have processor, memory, storage volume
And network connection, respective operating system and application program can be run, for example, virtualization modules 120 are by the deployment services
The resource of device A is abstracted into virtual machine (Virtual Machine, VM) VM0, VM1 and VM2, and virtualization modules 130 are by the portion
The resource of administration's server B is abstracted into virtual machine VM3, VM4 and VM5, and the VM0-VM5 has respective input/output
And storage volume, respective application program can be run.
The cloud operation server 101 can include cloud management module and cloud platform, can be to the application in the system
Disposed and managed, be, for example, application deployment, virtual machine, and the money such as calculating and storage of virtual machine are distributed for the application
Source, wherein, the cloud management module, which is used to manage, to be applied, and preserves the deployment description information of application, such as apply run void
Plan machine, deploying virtual machine is on which deployment services device, and the cloud platform is used to manage virtual machine, on deployment services device cluster
Virtual machine be managed.The cloud management module and cloud platform, which can be integrated, to be deployed on same server, can also be divided
Deployment is opened, the embodiment of the present invention is exemplified by integrating deployment.
Specifically, the cloud operation server 101 can utilize the virtualization modules 120,130 to apply and be deployed in one
Platform or more virtual machines, i.e., create application in the system, for example, cloud operation server 101 can will apply APP1
It is deployed on VM1, VM2 and VM3, the data of the APP1 are stored in the storage volume of described VM1, VM2 and VM3, the cloud behaviour
The configuration information of the application can also be collected after the application is disposed by making server, such as run the virtual of the application
The information of the deployment services device of the information of machine and the virtual machine.
The virtualization modules 120,130 can also according to the cloud operate server 101 instruction, to virtual machine into
Row snapshot operation, generates the snapshot document of the virtual machine, for example, virtualization modules 120 can do snapshot to the storage volume of VM1,
The snapshot document of VM1 is generated, the snapshot document of the VM1 can be stored in the storage volume of the VM1, and the snapshot document is real
It is the specific file of a read-only status in matter, is able to record all data and information of the virtual machine in snapshot time, therefore
The data of virtual machine can be backed up according to the snapshot document of virtual machine.
In embodiments of the present invention, in order to realize the backup of application data, backup server is added in systems
102, the backup server 102 is connected with cloud operation server communication, as shown in Fig. 1 (a), then can pass through following three
Kind mode, realizes and carries out unified snapshot operation to each virtual machine of operation application, realizes that the unified of application data backs up.
First way, in the system shown in Fig. 1 (a), the backup server 102 carries out standby according to the data to application
The demand of part, it is that described is that application creates asking for snapshot using the request of establishment snapshot to be sent to cloud operation server 101
Seek the mark for carrying the application so that the cloud operation server 101 is determined according to the request that snapshot is created for application
Run the application more virtual machines and the more virtual machines described in the deployment services device disposed, and indicate described more
The deployment services device disposed described in virtual machine carries out the more virtual machines snapshot operation of uniformity.
The second way, increases cloud management interface 103 so that described on the cloud operation server 101 shown in Fig. 1 (a)
Cloud operation server 101 supports inquiry of the backup server 102 to the configuration information of currently running application, so that described
The demand that backup server 102 can be backed up according to the data to application, is determined by inquiring about the cloud operation server
More virtual machines of the application are run, the request for virtual machine creating snapshot is sent to cloud operation server 101, it is described
The mark of the more virtual machines is carried for the request of virtual machine creating snapshot so that the cloud operates server 101 according to institute
State as the request of virtual machine creating snapshot, the physical host for indicating to dispose described in the more virtual machines is to the more virtual machines
Carry out the snapshot operation of uniformity.
The third mode, in the system shown in Fig. 1 (a), the backup server operates server by the cloud and refers to
Show that the deployment services device carries out snapshot operation, the backup server can also communicate with the deployment services device cluster 110
Connection, as shown in Fig. 1 (b), then the backup server 102 can be backed up according to the data to application demand passes through
Inquire about the deployment services that the cloud operation server determines to run more virtual machines of the application and the more virtual machines
Device, and indicate that the deployment services device of the more virtual machines starts the snapshot to the more virtual machines at the time point of uniformity
Operation, generates the snapshot document at time point of the more virtual machines in uniformity.
Specific implementation will be specifically unfolded to introduce in following embodiment.
A kind of method for generating snapshot
System architecture with reference to shown in Fig. 1 (a), the embodiment of the present invention proposes a kind of method for generating snapshot, such as Fig. 2 institutes
Show, the method may include:
S201:It is received as using the request for creating snapshot, described is that the request of application establishment snapshot carries the application
Mark, for being designated as the data creation snapshot of the application.
For example, it is using the request of APP1 establishment snapshots, the cloud that backup server, which can operate server to cloud and send,
It is the request for being created using APP1 snapshot that operation server, which can receive described, starts the data creation snapshot to the APP1.
When the APP1 is operated on more virtual machines, in order to ensure the snapshot of the more virtual machines according to operation APP1
File, the Backup Data of the APP1 of generation can be unanimously, it is necessary to carry out uniformity to more virtual machines for running the APP1
Snapshot is grasped so that the snapshot document of the more virtual machines of APP1 ensures the standby of the more virtual machines at the time point of uniformity
The uniformity of part data, can be that the cloud operates the snapshot policy of the preset application of server or can allow the request at this time
Configured information is carried, to indicate that the cloud operation server carries out the data of the application snapshot operation of uniformity.
S202:According to the mark of the application, determine to run more virtual machines of the application.
The cloud operation server after application deployment, can collect the configuration information of the application, such as transport in systems
The information for the deployment services device disposed described in the information of the virtual machine of the row application and the virtual machine, therefore, the cloud behaviour
Making server according to the mark of the application, can determine more virtual machines of the operation application.
S203:Determine the deployment services device of the more virtual machines.
The cloud operation server can determine the deployment services device of the more virtual machines, described more subsequently to indicate
The deployment services device of platform virtual machine, snapshot operation is carried out to the more virtual machines.
S204:Snapshot instruction is sent to the deployment services device of the more virtual machines, the snapshot instruction is used for instruction pair
The data of the more virtual machines carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
In order to carry out unified snapshot operation to each virtual machine of operation application, the cloud operation server can lead to
Cross and carry some configured informations in snapshot instruction, to indicate the deployment services device of the more virtual machines in uniformity
Time point starts the snapshot operation to the more virtual machines.
In embodiments of the present invention, the cloud operation server can be according to described to apply the request of establishment snapshot, really
Surely run the application more virtual machines and the more virtual machines described in the deployment services device disposed, and to described more
The deployment services device of virtual machine sends snapshot instruction so that the deployment services device of the more virtual machines can be according to the snapshot
Instruction, starts the snapshot operation to the more virtual machines at the time point of uniformity, generates the more virtual machines consistent
Property time point snapshot document, unified snapshot is carried out to each virtual machine for running the application so as to realize, is ensured
The uniformity of the snapshot data of the application, carries out snapshot operation as granularity using virtual machine different from the prior art and data is standby
Part, the embodiment of the present invention is realized carries out unified snapshot and backup to each virtual machine of operation application, avoid using virtual machine as
The snapshot data of each virtual machine of the issuable same application of operation of the snap shot of granularity is inconsistent and backup number
According to inconsistent situation.
System architecture with reference to shown in Fig. 1 (a), the embodiment of the present invention proposes a kind of method for generating snapshot, such as Fig. 3 institutes
Show, the method may include:
S301:Backup instruction is received, the backup instruction carries the mark of the application, for indicating to the application
Data are backed up.
For example, the backup instruction can be triggered by user so that the backup server is according to the backup instruction pair
The data of the application are backed up, in another example, the backup instruction can be answered by pre-set in the backup server
Backup policy timing generates, and starts and the data of the application are backed up.
S302:Sent to cloud operation server is that described is the request that application creates snapshot using the request of establishment snapshot
The mark and configured information of the application are carried, the configured information is used to indicate to carry out uniformity to the data of the application
Snapshot operation.
The backup server starts and the data of the application is backed up after the backup instruction is received,
Such as server can be operated to the cloud and sends the request that snapshot is created for application, described is that the request of application establishment snapshot is taken
With the configured information so that the cloud operation server carries out uniformity according to configured information to the data of the application
Snapshot operation.
In embodiments of the present invention, the backup server can operate server according to the backup instruction of reception to cloud
Send the request that snapshot is created for application so that the cloud operation server can be according to the request that snapshot is created for application
The data of the application are carried out the snapshot operation of uniformity, so as to realize to the application by the configured information of carrying
Data carry out unified snapshot, carry out snapshot operation and data backup by granularity of virtual machine different from the prior art, the present invention is real
Apply example and realize that each virtual machine applied to operation carries out unified snapshot and backup, avoid the snapshot side using virtual machine as granularity
The feelings that the snapshot data of each virtual machine of the issuable same application of operation of formula is inconsistent and Backup Data is inconsistent
Condition.
System architecture with reference to shown in Fig. 1 (a), the embodiment of the present invention proposes a kind of method for generating snapshot, such as Fig. 4 institutes
Show, the method may include:
S401:The request of virtual machine creating snapshot is received as, the request for virtual machine creating snapshot carries more void
The mark and configured information of plan machine, the configured information are used to indicate to carry out the fast of uniformity to the data of the more virtual machines
According to operation.
Backup server can operate request of the server transmission for virtual machine creating snapshot to cloud, and the request can be taken
Mark and configured information with more virtual machines, the cloud operation server can receive the asking for virtual machine creating snapshot
Ask, start at the time point of uniformity to the more virtual machine creating snapshots.
The mark of the more virtual machines can be the mark of all virtual machines of one application of operation, then the backup clothes
Business device can indicate that the cloud operates startup of server to running some application by the request for virtual machine creating snapshot
All virtual machine creating snapshots.
S402:Determine the deployment services device of the more virtual machines.
The cloud operation server can determine the deployment of the more virtual machines according to the mark of the more virtual machines
Server, subsequently to indicate the deployment services device of the more virtual machines, snapshot operation is carried out to the more virtual machines.
S403:Snapshot instruction is sent to the deployment services device of the more virtual machines, the snapshot instruction is used for instruction pair
The data of the more virtual machines carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
Configured information can be carried in the request for virtual machine creating snapshot that the cloud operation server receives, for referring to
Show that the cloud operation server carries out the data of the more virtual machines snapshot operation of uniformity, therefore, in order to right
The more virtual machines carry out unified snapshot operation, and the cloud operation server can be according to the configured information, by described
Snapshot instruction indicates that the deployment services device of the more virtual machines starts the snapshot operation to the more virtual machines at the same time.
In embodiments of the present invention, cloud operation server can according to the request for virtual machine creating snapshot,
Determine the deployment services device disposed described in more virtual machines, and send snapshot to the deployment services device of the more virtual machines and refer to
Order so that the deployment services device of the more virtual machines can be instructed according to the snapshot, while be started virtual to described more
The snapshot operation of machine, the snapshot document of the more virtual machines is generated at the time point of uniformity, when the more virtual machines are
During all virtual machines of some application of cloud row, the method can be realized carries out unification to each virtual machine for running the application
Snapshot, ensures the uniformity of the snapshot data of the application, and snapshot operation is carried out by granularity of virtual machine different from the prior art
And data backup, the embodiment of the present invention is realized carries out unified snapshot and backup to each virtual machine of operation application, avoid with
Virtual machine for each virtual machine of the same application of the issuable operation of snap shot of granularity snapshot data it is inconsistent with
And the situation that Backup Data is inconsistent.
System architecture with reference to shown in Fig. 1 (a), the embodiment of the present invention proposes a kind of method for generating snapshot, such as Fig. 5 institutes
Show, the method may include:
S501:Backup instruction is received, the backup instruction carries the mark of the application, for indicating to the application
Data are backed up.
For example, the backup instruction can be triggered by user so that the backup server is according to the backup instruction pair
The data of the application are backed up, in another example, the backup instruction can be answered by pre-set in the backup server
Backup policy timing generates, and starts and the data of the application are backed up.
S502:According to the mark of the application, determine to run more virtual machines of the application.
The backup server can operate server by cloud described in cloud management interface polls, determine the operation application
More virtual machines, so as to subsequently indicate to the more virtual machines carry out snapshot operation.
S503:The request for virtual machine creating snapshot is sent to cloud operation server, described is virtual machine creating snapshot
Request carries the mark and configured information of the more virtual machines, and the configured information is used to indicate to the more virtual machines
Data carry out the snapshot operation of uniformity.
The backup server starts and the data of the application is backed up after the backup instruction is received,
Such as request of the server transmission for virtual machine creating snapshot can be operated to the cloud, the request, which carries, runs the application
More virtual machines mark so that cloud operation server can be right according to the request for virtual machine creating snapshot
More virtual machines for running the application carry out snapshot operation, in addition, in order to realize the more virtual machines to running the application
Data carry out the snapshot operation of uniformity, the request for virtual machine creating snapshot can also carry configured information, be used for
Indicate that the cloud operation server carries out the data for running more virtual machines of the application snapshot operation of uniformity.
In embodiments of the present invention, the backup server can be determined described in operation after the backup instruction is received
More virtual machine machines of application, send as the request of virtual machine creating snapshot so that the cloud operation server can be according to institute
State as the request of virtual machine creating snapshot, the snapshot that uniformity is carried out to running the data of more virtual machines of the application is grasped
Make, unified snapshot is carried out to each virtual machine for running the application so as to realize, ensures the Backup Data of the application
Uniformity, carry out snapshot operation and data backup by granularity of virtual machine different from the prior art, the embodiment of the present invention is realized
Unified snapshot and backup are carried out to each virtual machine of operation application, avoiding the snap shot using virtual machine as granularity may produce
The situation that the snapshot data of each virtual machine of the raw same application of operation is inconsistent and Backup Data is inconsistent.
System architecture with reference to shown in Fig. 1 (b), the embodiment of the present invention proposes a kind of method for generating snapshot, such as Fig. 6 institutes
Show, the method may include:
S601:Backup instruction is received, the backup instruction carries the mark of the application, for indicating to the application
Data are backed up.
The backup instruction can be triggered by user, can also by the backup server pre-set application it is standby
Part strategy timing generates, and after the backup server receives the backup instruction, the data progress started to the application is standby
Part.
Further, when the backup instruction is triggered by user, the backup instruction can also carry configured information, described
Configured information is used to indicate the snapshot operation for carrying out the data of the application uniformity so that the follow-up backup server can
The data of the application are carried out with the snapshot operation of uniformity.
, can also be in the backup server when the backup instruction is generated by the backup policy timing of the application
The snapshot policy of preset application, the snapshot policy instruction of the application carry out the data of the application snapshot behaviour of uniformity
Make so that the follow-up backup server can carry out the data of the application snapshot operation of uniformity.
S602:According to the mark of the application, determine to run more virtual machines of the application.
The backup server can operate server by cloud described in cloud management interface polls, determine the operation application
More virtual machines.
S603:Determine the deployment services device of the more virtual machines.
The deployment clothes that the backup server can operate server and determine the more virtual machines by inquiring about the cloud
Business device, subsequently to indicate that the deployment services device of the more virtual machines carries out snapshot operation to the more virtual machines.
S604:Snapshot instruction is sent to the deployment services device of the more virtual machines, the snapshot instruction is used for instruction pair
The data of the more virtual machines carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
In order to carry out unified snapshot operation to the more virtual machines, the backup server can be according to the finger
Show the snapshot policy of information or the application, indicate that the deployment services device of the more virtual machines opens at the time point of uniformity
The dynamic snapshot operation to the more virtual machines.
In embodiments of the present invention, the backup server can start to the application according to the backup instruction
Data are backed up, and determine to run the deployment services disposed described in more virtual machines of the application and the more virtual machines
Device, and send snapshot instruction to the deployment services device of the more virtual machines so that the deployment services device of the more virtual machines
It can be instructed according to the snapshot, start snapshot operation to the more virtual machines at the time point of uniformity, described in generation
The snapshot document of more virtual machines, carries out each virtual machine for running the application unified snapshot so as to realize, ensures
The uniformity of the snapshot data of the application, carries out snapshot operation as granularity using virtual machine different from the prior art and data is standby
Part, the embodiment of the present invention is realized carries out unified snapshot and backup to each virtual machine of operation application, avoid using virtual machine as
The snapshot data of each virtual machine of the issuable same application of operation of the snap shot of granularity is inconsistent and backup number
According to inconsistent situation.
With reference to the system architecture shown in Fig. 1 (a) or (b), the embodiment of the present invention proposes a kind of method for generating snapshot, such as
Shown in Fig. 7, the method may include:
S701:Snapshot instruction is received, the snapshot that the snapshot instruction is used to indicate to carry out more virtual machines uniformity is grasped
Make.
Backup server or cloud operation server can send snapshot instruction to deployment services device, and the snapshot instruction is taken
Mark with more virtual machines, the deployment services device can be instructed according to the snapshot, and more virtual machines are carried out to described
The snapshot operation of uniformity, for example, the backup server can to deploy VM1 and VM2 deployment services device A send described in
Snapshot instructs, and the snapshot instruction carries the mark of VM1 and VM2, then the deployment services device A is instructed according to the snapshot, right
VM1 and VM2 carries out the snapshot operation of uniformity.
S702:Instructed according to the snapshot, hang up the write-in behaviour of every virtual machine respectively at the time point of uniformity
Make.
For example, the virtualization modules of the deployment services device can hang up writing for the VM1 and VM2 at uniformity time point
Enter operation, i.e., while allow the VM1 and VM2 to be stopped, then the VM1 that is preserved at this time in the storage volume of VM1 and VM2 and VM2's
Information is the time point of uniformity, to be subsequently generated the snapshot data of VM1 and VM2 uniformity.
S703:Snapshot is done to the storage volume of every virtual machine respectively to generate the snapshot of every virtual machine text
Part.
The virtualization modules of the deployment services device can carry out snapshot operation, generation to the storage volume of VM1 and VM2 respectively
The snapshot document of VM1 and VM2, since the VM1 and the information of VM2 that are preserved in the storage volume of VM1 and VM2 are uniformity time point
, realize the snapshot operation that uniformity is carried out to VM1 and VM2.
In embodiments of the present invention, the deployment services device can receive snapshot instruction, and the snapshot instruction carries more
The mark of virtual machine, and instructed according to the snapshot, the write operation of the more virtual machines is hung up at the time point of uniformity
Afterwards, the snapshot operation of uniformity is carried out to the more virtual machines, unification is carried out to the more virtual machines so as to realize
Snapshot operation, has ensured the uniformity of the snapshot data of the more virtual machines.
Specific embodiment one
System architecture with reference to shown in Fig. 1 (a), the embodiment of the present invention proposes a kind of method for generating snapshot, such as Fig. 8 institutes
Show, for carrying out snapshot operation to the data of application, for example, backed up to the data of APP1, the APP1 operate in VM1,
On VM2 and VM3, wherein VM1 and VM2 are deployed on deployment services device A, and VM3 is deployed on deployment services device B, and the method can
With including:
S801:Backup server receives backup instruction, and the backup instruction carries the mark of APP1.
The backup instruction carries the mark of application, such as the mark of APP1, the backup server receive described standby
After part instruction, start and the data of APP1 are backed up, wherein the mark of the application can be the title or ID of application, originally
Inventive embodiments are not limited thereto.
The backup instruction can be triggered according to demand by user, for example, working as the data progress needed to APP1
During backup, user sends the backup instruction to the backup server, the backup instruction carry the APP1 mark and
Configured information, the configured information are used to indicate the snapshot operation for carrying out the data of the application uniformity, the backup clothes
Business device can receive the backup instruction of user's triggering, and the data of APP1 are backed up;
The backup instruction can also be to be determined by the backup server according to the backup policy of pre-set application
Shi Shengcheng, for example, the backup policy that user can pre-set APP1 in the backup server is:It is right when 10 is small
The data of APP1 are once backed up, then the backup server generates the once backup instruction when 10 is small, described standby
Part instruction carries the mark of APP1, then the backup server can be according to the backup instruction of timing generation, startup pair
The data of APP1 are backed up.
S802:It is the request that snapshot is created using APP1 that the backup server is sent to cloud operation server.
After the backup instruction is received, the backup server is sent as application to cloud operation server
APP1 creates the request of snapshot, and described is the mark for the request carrying APP1 that snapshot is created using APP1, with described in instruction
The data creation snapshot that cloud operation server is APP1,
It is described be the request for creating snapshot using APP1 in addition to carrying the mark of the APP1, also carry instruction letter
Breath, the configured information are used for the snapshot operation for indicating that the cloud operation server carries out the data of the APP1 uniformity,
So as to fulfill unified backup is carried out to each virtual machine for running APP1, ensure the uniformity of Backup Data.
S803:The cloud operation server determines to run the more virtual machines of the APP1 according to the mark of the APP1.
The cloud operation server receives the request that snapshot is created for application, and determines more of the operation APP1
Virtual machine, subsequently to carry out snapshot operation to more virtual machines for running the APP1.
The cloud operation server can be disposed after APP1 in system 1, collect the configuration information of the APP1, such as
The configuration information of APP1 can include:
1) virtual machine of operation APP1 is:VM1, VM2 and VM3;
2) VM1 and VM2 is deployed on deployment services device A;
3) VM3 is deployed on deployment services device B;
The configuration information then applied in mark inquiry system of the cloud operation server according to APP1, it may be determined that operation
The more virtual machines of the APP1 are:VM1, VM2 and VM3.
S804:The cloud operation server determines the deployment services device of the more virtual machines.
The cloud operation server may further determine that the deployment services device of VM1, VM2 and VM3, subsequently to indicate
The deployment services device of VM1, VM2 and VM3, carry out VM1, VM2 and VM3 the snapshot operation of synchronization.
Cloud operation server can determine the deployment disposed described in VM1 and VM2 by inquiring about the configuration information of APP1
Server is deployment services device A, and the deployment services device for determining VM3 is deployment services device B.
S805:The cloud operation server is sent according to the configured information to deployment services device A and deployment services device B
Snapshot instructs.
Cloud operation server can send snapshot instruction to the deployment services device of the more virtual machines, i.e., respectively to
Deployment services device A and deployment services device B sends snapshot instruction, and the snapshot instruction is used to indicate the data to VM1, VM2 and VM3
The snapshot operation of uniformity is carried out to generate the snapshot document of VM1, VM2 and VM3.
Specifically, the cloud operation server can determine to need to VM1, VM2 and VM3 according to the configured information
Data carry out the snapshot operation of uniformity, cloud operation server can be realized by the following two kinds mode to VM1, VM2 and
The data of VM3 carry out the snapshot operation of synchronization:
1) mode one
The cloud operates server point at the same time, respectively to described in deployment services device A and deployment services device B transmissions
Snapshot instructs, wherein, the mark and the first information of the snapshot instruction carrying VM1 and VM2 sent to deployment services device A,
The mark of VM3 is carried to the snapshot instruction that deployment services device B is sent and the first information, the first information are used for
Instruction carries out this snapshot operation immediately after the snapshot instruction is received, that is, is used to indicate that the processing of the snapshot operation is excellent
First level is height, is referred to so that the deployment services device A and deployment services device B can receive the snapshot at the time point of uniformity
Order, and according to the first information, start the snapshot operation at the time point of uniformity.
2) mode two
The cloud operation server can send the snapshot to deployment services device A and deployment services device B respectively and instruct, its
In, the mark and the second information of the snapshot instruction carrying VM1 and VM2 sent to deployment services device A, to deployment services device
The snapshot instruction that B is sent carries the mark of VM3 and second information, and the second information instruction is at the same time
Start the snapshot operation, such as second information can indicate to start the snapshot operation at 4 points in that afternoon, then it is described
The snapshot behaviour will be started at the same time according to second information to the deployment services device A and deployment services device B
Make.
By above two mode, it is fast to have ensured that deployment services device A and deployment services device B start at the time point of uniformity
According to operation, but due to deploying two virtual machines, i.e. VM1 and VM2 in deployment services device A, it is also necessary to indicate the deployment clothes
The device A that is engaged in carries out snapshot operation at the time point of uniformity to VM1 and VM2, can realize to the data of VM1, VM2 and VM3 into
The snapshot operation of row uniformity, therefore the cloud operates server and is sent to the deployment services device for deploying at least two virtual machines
Before the snapshot instruction, the snapshot instruction can be allowed to carry the 3rd information, the 3rd information is used to indicate the deployment
The deployment services device of at least two virtual machines starts the snapshot operation at the same time to different virtual machines, for example,
The cloud is operated before server sends the snapshot instruction to deployment services device A, allows the snapshot instruction also to carry described the
Three information so that the deployment services device A can start to the fast of VM1 and VM2 at the same time according to the 3rd information
According to operation.
Wherein, the mark of the virtual machine can be the Universally Unique Identifier (Universally of the virtual machine
Unique Identifier, UUID), can also be uniform resource name (the Uniform Resource of the virtual machine
Name, URN), the embodiment of the present invention is not limited thereto.
In addition, in embodiments of the present invention, the cloud operation server is according to described for asking using APP1 establishment snapshots
The configured information of carrying is sought, the snapshot of uniformity is carried out to the data of the APP1, certainly, described is to create snapshot using APP1
Request can not also carry the configured information, it is pre- that user or the backup server can be that the cloud operates server
The snapshot policy of application is put, the snapshot operation of uniformity is carried out with the data referred to the APP1, the cloud operation server exists
Receive it is described be after the request of snapshot is created using APP1, can according to the instruction of the snapshot policy of the application, to VM1,
The data of VM2 and VM3 carry out the snapshot operation of uniformity.
S806:The deployment services device A and deployment services device B are instructed according to the snapshot, at the time point point of uniformity
Not Sheng Cheng VM1, VM2 and VM3 snapshot document.
By the analysis to step 806, the deployment services device A and deployment services device B are receiving the snapshot
After instruction, snapshot operation will be started at the time point of uniformity, generate the snapshot document at consistent time point.Specifically, it is described
The virtualization modules of deployment services device A and the virtualization modules of the deployment services device B hung up at the time point of uniformity VM1,
The write operation of VM2 and VM3, i.e., prevent all number of write access operations to VM1, VM2 and VM3, at this time at the time point of uniformity
Data in the storage volume of VM1, VM2 and VM3 are the time point of uniformity, then the virtualization mould of the deployment services device A
The virtualization modules of block and the deployment services device B can do snapshot to the storage volume of VM1, VM2 and VM3 respectively, with generation
The snapshot document of VM1, VM2 and VM3, due to having hung up the input/output of VM1, VM2 and VM3 at the time point of uniformity,
The snapshot document of generation VM1, VM2 and VM3 at the time point of uniformity is realized, has ensured the Backup Data of VM1, VM2 and VM3
Uniformity.
S807:The deployment services device A and deployment services device B to cloud operation server return described VM1, VM2 and
The information of the snapshot document of VM3.
After the snapshot document of described VM1, VM2 and VM3 is generated, the virtualization modules of the deployment services device A and described
The virtualization modules of deployment services device B can send the snapshot text of described VM1, VM2 and VM3 to cloud operation server respectively
The information of part, the information of the snapshot document can be mark or path of the snapshot document in deployment services device, root
The snapshot document can be obtained according to the information of the snapshot document in the deployment services device.
S808:The information of the snapshot document of VM1, VM2 and VM3 of the reception is returned to institute by the cloud operation server
State backup server.
S809:The backup server according to the information of the snapshot document of described VM1, VM2 and VM3, generate VM1, VM2 and
The Backup Data of VM3.
The backup server can be according to the information of the snapshot document of described VM1, VM2 and VM3, by described VM1, VM2
Backuped to the snapshot document of VM3 in the backup server, that is, the Backup Data of VM1, VM2 and VM3 are generated, due to described
The snapshot document of VM1, VM2 and VM3 are the time points of uniformity, ensure that VM1, VM2 are consistent with the Backup Data of VM3
Property.In embodiments of the present invention, the backup server can send the request that snapshot is created for application, the cloud operation service
Device according to the mark of the application, can determine more virtual machine machines of the operation application, and be created according to described for application
The configured information that the request of snapshot carries, sends snapshot instruction, the snapshot refers to the deployment services device of the more virtual machines
Order carries the first information either the second information or the 3rd information so that the deployment services device of the more virtual machines being capable of basis
The first information either the second information or the 3rd information, start to the fast of the more virtual machines at the time point of uniformity
According to operation, the snapshot document at time point of the generation more virtual machines in uniformity, so that the backup server being capable of root
According to the snapshot document of the more virtual machines, unified snapshot is carried out to each virtual machine for running the application, ensures described answer
The uniformity of Backup Data, snapshot operation and data backup, this hair are carried out different from the prior art by granularity of virtual machine
Bright embodiment is realized carries out unified snapshot and backup to each virtual machine of operation application, avoids using virtual machine as the fast of granularity
It is inconsistent and Backup Data is inconsistent according to the snapshot data of each virtual machine of the same application of the issuable operation of mode
Situation.
Specific embodiment two
System architecture with reference to shown in Fig. 1 (a), the embodiment of the present invention proposes a kind of method for generating snapshot, such as Fig. 9 institutes
Show, for carrying out snapshot operation to the data of application, for example, backed up to the data of APP1, the APP1 operate in VM1,
On VM2 and VM3, wherein VM1 and VM2 are deployed on deployment services device A, and VM3 is deployed on deployment services device B, and the method can
With including:
S901:Backup server receives backup instruction, and the backup instruction carries the mark of APP1.
The backup instruction is used to indicate that the backup server backs up the data of the APP1.The tool of this step
Body embodiment is similar with step S801, and details are not described herein.
S902:The backup server is according to the mark of the APP1, the more virtual machines of the inquiry operation APP1.
The backup server can operate server lookup operation institute after the backup instruction is received to the cloud
The more virtual machines of APP1 are stated, subsequently to carry out snapshot operation to more virtual machines for running the APP1.
Specifically, the cloud operation server can be disposed after the APP1 in systems, collect matching somebody with somebody for the APP1
Confidence ceases, such as runs the information of the virtual machine of the APP1, and the backup server can lead to according to the mark of the APP1
The mark that cloud management interface runs the more virtual machines of the APP1 to cloud operation server lookup is crossed, so that it is determined that operation
The more virtual machines of the APP1 are VM1, VM2 and VM3.
S903:The backup server sends to create for virtual machine VM1, VM2 and VM3 and creates to cloud operation server
Request.
Mark and the instruction that the request created is created for virtual machine VM1, VM2 and VM3 and carries VM1, VM2 and VM3
Information, the configured information are used for the snapshot for indicating that the cloud operation server carries out the data of VM1, VM2 and VM3 uniformity
Operation.
S904:The cloud operates mark of the server according to described VM1, VM2 and VM3, determines the portion of VM1, VM2 and VM3
Affix one's name to server.
The cloud operation server may further determine that the deployment services device of VM1, VM2 and VM3, subsequently to indicate
The deployment services device of VM1, VM2 and VM3, carry out VM1, VM2 and VM3 the snapshot operation of uniformity.
The cloud operates mark of the server according to described VM1, VM2 and VM3, it may be determined that is disposed described in VM1 and VM2
Deployment services device is deployment services device A, and the deployment services device for determining VM3 is deployment services device B.
S905:The cloud operation server is sent according to the configured information to deployment services device A and deployment services device B
Snapshot instructs.
S906:The deployment services device A and deployment services device B are instructed according to the snapshot, at the time point point of uniformity
Not Sheng Cheng VM1, VM2 and VM3 snapshot document.
S907:The deployment services device A and deployment services device B to cloud operation server return described VM1, VM2 and
The information of the snapshot document of VM3.
S908:The information of the snapshot document of VM1, VM2 and VM3 of the reception is returned to institute by the cloud operation server
State backup server.
S909:The backup server according to the information of the snapshot document of described VM1, VM2 and VM3, generate VM1, VM2 and
The Backup Data of VM3.
The embodiment of step S905-S909 is similar with step S805-S809, and the embodiment of the present invention is no longer superfluous herein
State.
In embodiments of the present invention, the backup server can be determined described in operation after the backup instruction is received
More virtual machine machines of application, sending can be according to described for the request of virtual machine creating snapshot, the cloud operation server
The configured information that the request of virtual machine creating snapshot carries, snapshot instruction is sent to the deployment services device of the more virtual machines,
The snapshot instruction carries the first information either the second information or the 3rd information so that the deployment services of the more virtual machines
Device can start to described more according to the first information either the second information or the 3rd information at the time point of uniformity
The snapshot operation of virtual machine, generates the snapshot document at time point of the more virtual machines in uniformity, so that the backup clothes
Business device can carry out each virtual machine for running the application unified backup according to the snapshot document of the more virtual machines,
Ensure the uniformity of the Backup Data of the application, snapshot operation and data are carried out by granularity of virtual machine different from the prior art
Backup, the embodiment of the present invention is realized carries out unified snapshot and backup to each virtual machine of operation application, avoids the prior art
In the same application of issuable operation each virtual machine snapshot data is inconsistent and feelings that Backup Data is inconsistent
Condition.
Specific embodiment three
System architecture with reference to shown in Fig. 1 (b), the embodiment of the present invention propose a kind of method for generating snapshot, such as Figure 10
Shown, for carrying out snapshot operation to the data of application, for example, being backed up to the data of APP1, the APP1 is operated in
On VM1, VM2 and VM3, wherein VM1 and VM2 are deployed on deployment services device A, and VM3 is deployed on deployment services device B, the side
Method can include:
S1001:Backup server receives backup instruction, and the backup instruction carries the mark of APP1.
The backup instruction is used to indicate that the backup server backs up the data of the APP1.The tool of this step
Body embodiment is similar with step S801, and details are not described herein.
S1002:The backup server according to the mark of the APP1, inquiry run the more virtual machines of the APP1 with
And the deployment services device of the more virtual machines.
The backup server can operate server lookup operation institute after the backup instruction is received to the cloud
The more virtual machines of APP1 and the deployment services device of the more virtual machines are stated, subsequently to indicate the portion of the more virtual machines
Server is affixed one's name to, snapshot operation is carried out to more virtual machines for running the APP1.
Specifically, the cloud operation server can be disposed after the APP1 in systems, collect matching somebody with somebody for the APP1
Confidence ceases, such as runs the information of the virtual machine of the APP1 and the information of the deployment services device of the virtual machine, described standby
Part server can operate server by cloud described in cloud management interface polls, determine operation institute according to the mark of the APP1
More virtual machines for stating APP1 are VM1, VM2 and VM3, and the deployment services device for determining to dispose described in VM1 and VM2 is deployment services device
A, the deployment services device for determining VM3 are deployment services device B.
S1003:The backup server sends snapshot instruction to deployment services device A and deployment services device B.
The backup server sends snapshot instruction to deployment services device A and deployment services device B respectively, to indicate the portion
Affix one's name to the snapshot operation that server A and deployment services device B carry out the data of VM1, VM2 and VM3 uniformity.
Specifically, the data of VM1, VM2 and VM3 are carried out with the snapshot operation of uniformity in order to realize, the backup services
Device can point at the same time, send the snapshot to deployment services device A and deployment services device B respectively and instruct, wherein, to portion
Mark and the first information that the snapshot instruction that server A is sent carries VM1 and VM2 are affixed one's name to, is sent to deployment services device B
The snapshot instruction carries the mark of VM3 and the first information, and the first information is used to indicate receiving the snapshot
After instruction, this snapshot operation is carried out immediately, that is, the processing priority for being used to indicate the snapshot operation is height, so that the portion
Administration's server A and deployment services device B can receive the snapshot instruction at the time point of uniformity, and according to described first
Information, starts the snapshot operation;
Alternatively, it is also possible that
The snapshot is sent to deployment services device A and deployment services device B respectively to instruct, wherein, sent to deployment services device A
The snapshot instruction carry VM1 and VM2 mark and the second information, to deployment services device B send the snapshot instruct
The mark of VM3 and second information are carried, the second information instruction starts the snapshot operation, example at the same time
The snapshot operation as described in second information can indicate to start in 4 points of that afternoon, then it is described to deployment services device A and described
Deployment services device B will start the snapshot operation at the same time according to second information.
By above two mode, ensure that deployment services device A and deployment services device B start snapshot operation at the same time, still
Due to deploying two virtual machines, i.e. VM1 and VM2 in deployment services device A, it is also necessary to indicate that the deployment services device A is right at the same time
VM1 and VM2 carries out snapshot operation, can realize the snapshot operation that the data of VM1, VM2 and VM3 are carried out with uniformity, therefore
Before the backup server sends the snapshot instruction to the deployment services device for deploying at least two virtual machines, institute can be allowed
State snapshot instruction and carry the 3rd information, the 3rd information is used to indicate the deployment services for deploying at least two virtual machines
Device starts the snapshot operation at the same time to different virtual machines, for example, the backup server is to deployment services device A
Before sending snapshot instruction, the snapshot instruction is allowed also to carry the 3rd information so that the deployment services device A can be with
According to the 3rd information, start the snapshot operation to VM1 and VM2 at the same time.
S1004:The deployment services device A and deployment services device B are instructed according to the snapshot, are generated respectively in synchronization
The snapshot document of VM1, VM2 and VM3.
The embodiment of this step is similar with step S806, and the embodiment of the present invention is repeated in this step.
S1005:The deployment services device A and deployment services device B to the backup server return described VM1, VM2 and
The information of the snapshot document of VM3.
S1006:The backup server generates VM1, VM2 according to the information of the snapshot document of described VM1, VM2 and VM3
With the Backup Data of VM3.
The backup server can be according to the information of the snapshot document of described VM1, VM2 and VM3, by described VM1, VM2
Backuped to the snapshot document of VM3 in the backup server, since the snapshot document of described VM1, VM2 and VM3 are same
Moment generation, it ensure that the uniformity of the Backup Data of VM1, VM2 and VM3.
In embodiments of the present invention, the backup server can be determined described in operation after the backup instruction is received
The deployment services device disposed described in the more virtual machine machines and the more virtual machines of application, and to the more virtual machines
Deployment services device sends snapshot instruction, and the snapshot instruction carries the first information either the second information or the 3rd information so that
The deployment services device of the more virtual machines can be according to the first information either the second information or the 3rd information, consistent
Property time point start snapshot operation to the more virtual machines, it is fast at uniformity time point to generate the more virtual machines
According to file, so that the backup server can be according to the snapshot document of the more virtual machines, to running each of the application
Platform virtual machine carries out unified snapshot, ensures the uniformity of the Backup Data of the application, different from the prior art using virtual machine as
Granularity carries out snapshot operation and data backup, and the embodiment of the present invention is realized carries out unified snapshot to each virtual machine of operation application
And backup, avoid using virtual machine as the fast of each virtual machine of the issuable same application of operation of the snap shot of granularity
According to the situation that data are inconsistent and Backup Data is inconsistent.
One kind generation fast photographing device
System architecture with reference to shown in Fig. 1 (a), an embodiment of the present invention provides a kind of fast photographing device, as shown in figure 11, institute
Stating device may include receiving unit 1101, determination unit 1102 and transmitting element 1103.
The receiving unit 1101, for being received as applying the request for creating snapshot, described is that application creates asking for snapshot
The mark for carrying the application is sought, for being designated as the data creation snapshot of the application, such as backup server can be to cloud
It is the request that snapshot is created using APP1 to operate server and send, and it is using APP1 that the cloud operation server, which can receive described,
The request of snapshot is created, starts the data creation snapshot to the APP1, described is that the request of application establishment snapshot can also be taken
Band configured information, the configured information are used to indicate the snapshot operation for carrying out the data of the application uniformity.
The determination unit 1102, the mark of the application of the request carrying of snapshot is created for basis, really for application
Surely more virtual machines of the application are run, and determine the deployment services device of the more virtual machines, are serviced since cloud operates
Device after application deployment, can collect the configuration information of the application in systems, such as run the information of the virtual machine of the application
And the information for the deployment services device disposed described in the virtual machine, the determination unit 1102 can be according to the marks of the application
Know, determine more virtual machines of the operation application.
The transmitting element 1103, it is described fast for sending snapshot instruction to the deployment services device of the more virtual machines
It is used to indicate the snapshot operation to the data progress uniformity of the more virtual machines according to instruction to generate the more virtual machines
Snapshot document, specifically, the transmitting element 1103 can according to it is described be that application creates the finger that carries in the request of snapshot
Show information, sending the snapshot to the deployment services device of the more virtual machines instructs, and exists with instruction to the more virtual machines
The time point of uniformity starts snapshot operation.
Further, described device can also include dispensing unit 1104, and the snapshot policy for preset application is described
The snapshot policy instruction of application carries out the data of the application snapshot operation of uniformity, then the transmitting element 1103 is specific
It can be sent according to the snapshot policy of the preset application of the dispensing unit 1104 to the deployment services device of the more virtual machines
The snapshot instruction, to indicate to start snapshot operation to time point of the more virtual machines in uniformity.
When the determination unit 1102 determines the more deploying virtual machines when on more deployment services devices, described more
In order to indicate that the more deployment services devices start snapshot operation, the hair to time point of the more virtual machines in uniformity
Send unit 1103 can point at the same time, send the snapshot to the more deployment services devices respectively and instruct, wherein, institute
Mark and the first information that snapshot instruction carries the virtual machine disposed on every deployment services device are stated, the first information indicates institute
The processing priority for stating snapshot operation is height;Instructed alternatively, sending the snapshot to the more deployment services devices respectively, its
In, the snapshot instruction carries the mark and the second information of the virtual machine disposed on every deployment services device, second information
Instruction starts the snapshot operation at the same time, so as to ensure that the more deployment services devices start snapshot operation at the same time.
Further, when the determination unit 1102 determines at least to deploy at least two void on a deployment services device
Plan machine, for example, determine deployment server A on deploy VM1 and VM2, in order to allow deployment services device A at the same time startup to VM1
With the snapshot of VM2, the transmitting element 1103 can also be sent to the deployment services device for deploying at least two virtual machines
The snapshot instruction, the snapshot instruction also carry the 3rd information, at least two void are deployed described in the 3rd information instruction
The deployment services device of plan machine starts the snapshot operation at the same time to different virtual machines.
In embodiments of the present invention, the determination unit 1102 can be application according to the receiving unit 1101 reception
The request of snapshot is created, determines to run the deployment clothes disposed described in more virtual machines of the application and the more virtual machines
Business device so that the transmitting element 1103 can send snapshot instruction to the deployment services device of the more virtual machines, so that institute
Stating the deployment services device of more virtual machines can instruct according to the snapshot, start at the time point of uniformity to the more void
The snapshot operation of plan machine, generates the snapshot document at time point of the more virtual machines in uniformity, realizes to running described answer
Each virtual machine carries out unified snapshot, ensures the uniformity of the snapshot data of the application, different from the prior art with void
Plan machine carries out snapshot operation and data backup for granularity, and the embodiment of the present invention, which is realized, unites each virtual machine of operation application
One snapshot and backup, avoid virtual as issuable run same application each of the snap shot of granularity using virtual machine
The situation that the snapshot data of machine is inconsistent and Backup Data is inconsistent.
System architecture with reference to shown in Fig. 1 (a), an embodiment of the present invention provides a kind of fast photographing device, as shown in figure 12, institute
It can be backup server to state device, and described device may include receiving unit 1201 and transmitting element 1202.
The receiving unit 1201, for receiving backup instruction, the backup instruction carries the mark of the application, is used for
Indicate to back up the data of the application, the backup instruction can be triggered by user, and the receiving unit 1201 can be with
The data of the application are backed up according to the backup instruction that the user triggers, the backup instruction can also be connect by described
The backup policy timing for receiving pre-set application in unit 1201 generates, and starts and the data of the application are backed up.
The transmitting element 1202, for the backup instruction received according to the receiving unit 1201, operates to cloud
Server sends the request that snapshot is created for application, and described is that the request of application establishment snapshot carries the mark of the application and refers to
Show information, the configured information is used to indicate the snapshot operation for carrying out the data of the application uniformity.
In embodiments of the present invention, the transmitting element 1202 can refer to according to the backup that the receiving unit 1201 receives
Order, operates server to cloud and sends as using the request for creating snapshot so that the cloud, which operates server, to be according to described
The data of the application are carried out the snapshot operation of uniformity by the configured information carried using the request for creating snapshot, so as to
The data of the application are carried out with unified snapshot to realize, different from the prior art using virtual machine for granularity carry out snapshot operation with
Data backup, the embodiment of the present invention is realized carries out unified snapshot and backup to each virtual machine of operation application, avoids with void
Plan machine for the snapshot data of each virtual machine of the same application of the issuable operation of snap shot of granularity it is inconsistent and
The inconsistent situation of Backup Data.
System architecture with reference to shown in Fig. 1 (a), an embodiment of the present invention provides a kind of fast photographing device, as shown in figure 13, uses
Backed up in the data to application, described device may include receiving unit 1301, determination unit 1302 and provide unit 1303.
The receiving unit 1301, for being received as the request of virtual machine creating snapshot, described is virtual machine creating snapshot
Request carry the mark and configured information of more virtual machines, the configured information is used to indicate to the numbers of the more virtual machines
According to the snapshot operation for carrying out uniformity, the mark of the more virtual machines can be the mark of all virtual machines of one application of operation
Know, then the backup server can indicate that the cloud operation server exists by the request for virtual machine creating snapshot
The time point of uniformity starts all virtual machine creating snapshots to running some application.
The determination unit 1302, for determining the deployment services device of the more virtual machines, to indicate the more void
The deployment services device of plan machine, snapshot operation is carried out to the more virtual machines.
The offer unit 1303, it is described fast for sending snapshot instruction to the deployment services device of the more virtual machines
It is used to indicate the snapshot operation to the data progress uniformity of the more virtual machines according to instruction to generate the more virtual machines
Snapshot document, specifically, in order to carry out unified snapshot operation to the more virtual machines, the offer unit 1303 can
With according to the configured information, by snapshot instruction indicate the deployment services devices of the more virtual machines uniformity when
Between point start snapshot operation to the more virtual machines
Since the more virtual machines can be deployed on one or more deployment services device, when the determination unit 1302
The more deploying virtual machines are determined when on more deployment services devices, in order to indicate the more deployment services devices to described more
Platform virtual machine starts snapshot operation at the time point of uniformity, the offer unit 1303 can point at the same time, respectively
The snapshot instruction is sent to the more deployment services devices, wherein, the snapshot instruction carries every deployment services device top
The mark and the first information of the virtual machine of administration, the first information indicate that the processing priority of the snapshot operation is height;Alternatively,
The snapshot is sent to the more deployment services devices respectively to instruct, wherein, the snapshot instruction carries every deployment services device
The mark of the virtual machine of upper deployment and the second information, the second information instruction start the snapshot operation at the same time,
So as to ensure that the more deployment services devices start snapshot operation at the time point of uniformity.
Further, when the determination unit 1302 determines at least to deploy at least two void on a deployment services device
Plan machine, for example, determine deployment server A on deploy VM1 and VM2, in order to allow deployment services device A at the same time startup to VM1
With the snapshot of VM2, the unit 1303 that provides can also be sent to the deployment services device for deploying at least two virtual machines
The snapshot instruction, the snapshot instruction also carry the 3rd information, at least two void are deployed described in the 3rd information instruction
The deployment services device of plan machine starts the snapshot operation at the same time to different virtual machines.
In embodiments of the present invention, the determination unit 1302 can be according to receiving the receiving unit 1301
The request of virtual machine creating snapshot, determines the deployment services device disposed described in more virtual machines, so that the offer unit 1303
Snapshot instruction can be sent to the deployment services device of the more virtual machines so that the deployment services device energy of the more virtual machines
It is enough to be instructed according to the snapshot, while start the snapshot operation to the more virtual machines, generate institute at the time point of uniformity
The snapshot document of more virtual machines is stated, when the more virtual machines some all virtual machine applied for cloud row, the method
Can realize and unified snapshot is carried out to each virtual machine for running the application, ensure the application snapshot data it is consistent
Property, snapshot operation and data backup are carried out using virtual machine as granularity different from the prior art, the embodiment of the present invention is realized to operation
Each virtual machine of application carries out unified snapshot and backup, avoids using virtual machine as the issuable fortune of the snap shot of granularity
The situation that the snapshot data of each virtual machine of the same application of row is inconsistent and Backup Data is inconsistent.
System architecture with reference to shown in Fig. 1 (a), an embodiment of the present invention provides a kind of fast photographing device, as shown in figure 14, institute
It can be backup server to state device, and described device may include receiving unit 1401, query unit 1402 and transmitting element 1403.
Receiving unit 1401, for receiving backup instruction, the backup instruction carries the mark of the application, for indicating
The data of the application are backed up;The backup instruction can be triggered by user, and the receiving unit 1401 can basis
The backup instruction of user's triggering backs up the data of the application, and the backup instruction can also receive list by described
The backup policy timing of pre-set application in member 1401 generates, and starts and the data of the application are backed up.
Query unit 1402, for the mark according to the application, determines to run more virtual machines of the application, specifically
Ground, the determination unit can inquire about cloud operation server, obtain run the application more according to the mark of the application
The mark of virtual machine.
Transmitting element 1403, for sending the request for virtual machine creating snapshot to cloud operation server, described is virtual
Machine creates the mark and configured information of the request carrying more virtual machines of snapshot, and the configured information is used to indicate to described
The data of more virtual machines carry out the snapshot operation of uniformity.
In embodiments of the present invention, the query unit 1402 can receive the backup in the receiving unit 1401 and refer to
After order, more virtual machine machines of the operation application are determined, the transmitting element 1403 can be sent as virtual machine creating snapshot
Request so that cloud operation server can be according to the request for virtual machine creating snapshot, to the operation application
The data of more virtual machines carry out the snapshot operation of uniformity, so as to realize each virtual machine to running the application
Unified snapshot is carried out, ensures the uniformity of the snapshot data of the application, is carried out different from the prior art by granularity of virtual machine
Snapshot operation and data backup, the embodiment of the present invention is realized carries out unified snapshot and backup to each virtual machine of operation application,
Avoid the snapshot data using virtual machine as each virtual machine of the issuable same application of operation of the snap shot of granularity
Inconsistent and inconsistent Backup Data situation.
System architecture with reference to shown in Fig. 1 (b), an embodiment of the present invention provides a kind of fast photographing device, as shown in figure 15, institute
It can be backup server to state device, and described device may include receiving unit 1501, determination unit 1502 and transmitting element 1503.
The receiving unit 1501, for receiving backup instruction, the backup instruction carries the mark of the application, is used for
Indicate to back up the data of the application, such as the backup instruction can be triggered by user, the backup instruction carries
The mark and configured information of the application, the configured information are used to indicate to carry out the fast of uniformity to the data of the application
According to operation, the receiving unit 1501 is used for the backup instruction for receiving user's triggering;The backup instruction can also be by institute
The backup policy timing for stating pre-set application in receiving unit 1501 generates.
The determination unit 1502, for the mark according to the application, determines to run more virtual machines of the application
And the deployment services device of the more virtual machines, specifically, the determination unit 1502 is to pass through cloud management interface polls institute
Cloud operation server is stated, determines more virtual machines of the operation application and the deployment services device of the more virtual machines.
The transmitting element 1503, for the configured information carried according to the backup instruction or preset application
Snapshot policy, send snapshot instruction to the deployment services device of the more virtual machines, snapshot instruction is used to indicate to institute
The data for stating more virtual machines carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines, the application
Snapshot policy instruction the data of the application are carried out with the snapshot operation of uniformity.
Since the more virtual machines can be deployed on one or more deployment services device, when the determination unit 1502
The more deploying virtual machines are determined when on more deployment services devices, described more in order to indicate the more deployment services devices
Snapshot operation is started to time point of the more virtual machines in uniformity, the transmitting element 1503 can be at the same time
Point, sends the snapshot to the more deployment services devices respectively and instructs, wherein, the snapshot instruction carries every deployment services
The mark and the first information for the virtual machine disposed on device, the first information indicate that the processing priority of the snapshot operation is
It is high;Instructed alternatively, sending the snapshot to the more deployment services devices respectively, wherein, the snapshot instruction carries every portion
The mark and the second information for the virtual machine disposed on administration's server, the second information instruction start described fast at the same time
According to operation, so as to ensure that the more deployment services devices start snapshot operation at the time point of uniformity.
Further, when the determination unit 1502 determines at least to deploy at least two void on a deployment services device
Plan machine, for example, determining to deploy VM1 and VM2 in deployment server A, in order to allow deployment services device A in the time of uniformity
Point starts the snapshot to VM1 and VM2, and the transmitting element 1503 can also be to the deployment for deploying at least two virtual machines
Server sends the snapshot instruction, and the snapshot instruction also carries the 3rd information, deployed described in the 3rd information instruction
The deployment services device of at least two virtual machines starts the snapshot operation at the same time to different virtual machines.
In embodiments of the present invention, the mark for the application that the determining module can be carried according to the backup instruction, really
Surely run the application more virtual machines and the more virtual machines described in the deployment services device disposed, the transmitting element
1503 can send snapshot instruction to the deployment services device of the more virtual machines so that the deployment services of the more virtual machines
Device can be instructed according to the snapshot, started the snapshot operation to the more virtual machines at the time point of uniformity, generated institute
Snapshot document of the more virtual machines at the time point of uniformity is stated, so as to realize each virtual machine to running the application
Unified snapshot is carried out, ensures the uniformity of the Backup Data of the application, is carried out different from the prior art by granularity of virtual machine
Snapshot operation and data backup, the embodiment of the present invention is realized carries out unified snapshot and backup to each virtual machine of operation application,
Avoid the snapshot data using virtual machine as each virtual machine of the issuable same application of operation of the snap shot of granularity
Inconsistent and inconsistent Backup Data situation.
With reference to the system architecture shown in Fig. 1 (a) or (b), an embodiment of the present invention provides a kind of fast photographing device, such as Figure 16 institutes
Show, described device can be deployment services device, and described device may include receiving unit 1601 and snapshot unit 1602.
The receiving unit 1601, for receiving snapshot instruction, snapshot instruction be used to indicating to more virtual machines into
The snapshot operation of row uniformity;The snapshot unit 1602 is used to be instructed according to the snapshot, distinguishes at the time point of uniformity
Hang up the write operation of every virtual machine, and to do snapshot to the storage volume of every virtual machine respectively described to generate
The snapshot document of every virtual machine, specifically, snapshot instruction can carry the mark and the first information of virtual machine, and described the
One information indicates that the processing priority of the snapshot operation is height, alternatively, snapshot instruction carries the mark and the of virtual machine
Two information, second information instruction start described in the snapshot operation that the snapshot unit 1602 can root at the same time
Instructed according to the snapshot, alternatively, snapshot instruction also carries the 3rd information, the 3rd information instruction is to different virtual machines
Start the snapshot operation in synchronization, so that the snapshot unit 1602 can be according to the first information or described the
Two information or the 3rd information, the write operation of every virtual machine is hung up at the time point of uniformity respectively, due to
The data of the virtual machine preserved at this time in the storage volume of every virtual machine are the time point of uniformity, then the snapshot list
Member 1602 does snapshot to the storage volume of every virtual machine respectively, realizes the snapshot behaviour that uniformity is carried out to VM1 and VM2
Make.
In embodiments of the present invention, the receiving unit 1601 can receive snapshot instruction, and the snapshot instruction carries more
The mark of platform virtual machine, the snapshot unit 1602 can be instructed according to the snapshot, described in the time point hang-up in uniformity
After the write operation of more virtual machines, the snapshot operation of uniformity is carried out to the more virtual machines, so as to realize to institute
State more virtual machines and carry out unified snapshot, ensure the uniformity of the snapshot data of the more virtual machines.
The system of generation snapshot provided in an embodiment of the present invention, as shown in Fig. 1 (a), the system comprises backup server
102nd, cloud operation server 101 and deployment services device 110;
The backup server 102, the request of snapshot is created for being sent to cloud operation server 101 for application, described
The mark of the request carrying application of snapshot is created for application, for indicating that the cloud operation server 101 is the application
Data creation snapshot.
The cloud operates server 101, is using the request for creating snapshot, according to the mark of the application for receiving described
Know, determine more virtual machines of the operation application, the deployment services device 110 of the more virtual machines is determined, to described more
The deployment services device 110 of virtual machine sends snapshot instruction, and the snapshot instruction is used to indicate the deployment services device 110 to described
The data of more virtual machines carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
The deployment services device 110, the snapshot instruction sent for receiving the cloud operation server 101, according to
The snapshot instruction, the write operation of every virtual machine is hung up at the time point of uniformity, respectively to every described respectively
The storage volume of virtual machine does snapshot to generate the snapshot document of every virtual machine.
In embodiments of the present invention, the backup server 102 can send the request that snapshot is created for application, the cloud
Operating server 101 according to the mark of the application, can determine more virtual machine machines of the operation application, and according to described
The configured information of the request carrying of snapshot is created for application, sending snapshot to the deployment services device 110 of the more virtual machines refers to
Order so that the deployment services device 110 of the more virtual machines can be instructed according to the snapshot, be hung up at the time point of uniformity
The write operation of every virtual machine, the unified snapshot operation started to the more virtual machines, described more of generation are virtual
Snapshot document of the machine at the time point of uniformity, so that the backup server 102 can be according to the fast of the more virtual machines
According to file, unified snapshot is carried out to each virtual machine for running the application, ensures the uniformity of the Backup Data of the application,
Snapshot operation and data backup are carried out by granularity of virtual machine different from the prior art, the embodiment of the present invention, which is realized, applies operation
Each virtual machine carry out unified snapshot and backup, avoid same as the issuable operation of the snap shot of granularity using virtual machine
The situation that the snapshot data of each virtual machine of one application is inconsistent and Backup Data is inconsistent.
The system of generation snapshot provided in an embodiment of the present invention, as described in Fig. 1 (a), the system comprises backup server
102nd, cloud operation server 101 and deployment services device 110;
The backup server 102, for receiving backup instruction, the backup instruction carries the mark of the application, uses
The data of the application are backed up in instruction, cloud operation server 101 is inquired about according to the mark of the application to determine fortune
More virtual machines of the row application, and send the request for virtual machine creating snapshot, institute to cloud operation server 101
The request stated as virtual machine creating snapshot carries the mark and configured information of the more virtual machines, and the configured information is used to refer to
Show the snapshot operation that the data of the more virtual machines are carried out with uniformity.
The cloud operates server 101, for the application carried according to the Query Information of the backup server 102
Mark, determines the mark of more virtual machines of the operation application, and it is virtual to receive the described of the transmission of backup server 102
Machine creates the request of snapshot, determines the deployment services devices 110 of the more virtual machines, according to described for virtual machine creating snapshot
Configured information in request, sends snapshot instruction, the snapshot instruction is used for the deployment services device 110 of the more virtual machines
Snapshot operation of the deployment services device 110 to the data progress uniformity of the more virtual machines is indicated to generate described more
The snapshot document of virtual machine.
The deployment services device 110, the snapshot instruction sent for receiving the cloud operation server 101, according to
The snapshot instruction, the write operation of every virtual machine is hung up at the time point of uniformity, respectively to every described respectively
The storage volume of virtual machine does snapshot to generate the snapshot document of every virtual machine.
In embodiments of the present invention, the backup server 102 can determine operation institute after the backup instruction is received
More virtual machine machines of application are stated, are sent as the request of virtual machine creating snapshot, the cloud operation server 101 can be according to institute
The configured information carried for the request of virtual machine creating snapshot is stated, is sent soon to the deployment services device 110 of the more virtual machines
According to instruction so that the deployment services device 110 of the more virtual machines can be instructed according to the snapshot, at the time point of uniformity
Hang up the write operation of the more virtual machines, the unified snapshot operation started to the more virtual machines, described more of generation
Snapshot document of the virtual machine at the time point of uniformity, so that the backup server 102 can be according to the more virtual machines
Snapshot document, unified backup is carried out to each virtual machine for running the application, ensures the one of the Backup Data of the application
Cause property, carries out snapshot operation and data backup, the embodiment of the present invention is realized to fortune different from the prior art by granularity of virtual machine
Each virtual machine of row application carries out unified snapshot and backup, avoids the issuable same application of operation in the prior art
Each virtual machine snapshot data is inconsistent and situation that Backup Data is inconsistent.
The system of generation snapshot provided in an embodiment of the present invention, as shown in Fig. 1 (b), the system comprises cloud operation to service
Device 101, backup server 102 and deployment services device 110;
The backup server 102, for receiving backup instruction, the backup instruction carries the mark of the application, uses
The data of the application are backed up in instruction, cloud operation server 101 is inquired about according to the mark of the application to determine fortune
More virtual machines of the row application and the deployment services device 110 of the more virtual machines, to the portion of the more virtual machines
Affix one's name to server 110 and send snapshot instruction, the snapshot instruction is used to indicate the deployment services device 110 to the more virtual machines
Data carry out the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
The cloud operates server 101, for the application carried according to the Query Information of the backup server 102
Mark, determine more virtual machines of the operation application, determine the deployment services device 110 of the more virtual machines.
The deployment services device 110, the snapshot instruction sent for receiving the backup server 102, according to institute
Snapshot instruction is stated, the write operation of every virtual machine is hung up respectively at the time point of uniformity, respectively to every void
The storage volume of plan machine does snapshot to generate the snapshot document of every virtual machine.
In embodiments of the present invention, the backup server 102 can determine operation institute after the backup instruction is received
State application more virtual machine machines and the more virtual machines described in the deployment services device 110 disposed, and to the more void
The deployment services device 110 of plan machine sends snapshot instruction, and the deployment services device 110 of the more virtual machines can be according to the snapshot
Instruction, starts the snapshot operation to the more virtual machines at the time point of uniformity, generates the more virtual machines consistent
Property time point snapshot document so that the backup server 102 can be according to the snapshot document of the more virtual machines, to fortune
Each virtual machine of the row application carries out unified snapshot, ensures the uniformity of the Backup Data of the application, different from existing
Technology carries out snapshot operation and data backup by granularity of virtual machine, and the embodiment of the present invention realizes that each applied to operation is virtual
Machine carries out unified snapshot and backup, avoids using virtual machine as the issuable same application of operation of the snap shot of granularity
The situation that the snapshot data of each virtual machine is inconsistent and Backup Data is inconsistent.
Such as Figure 17, for the structure composition schematic diagram of the device of generation snapshot provided in an embodiment of the present invention.The present invention is implemented
The device for the generation snapshot that example provides may include:
Processor 1701, memory 1702, system bus 1704 and communication interface 1705.Processor 1701, memory
Connected between 1702 and communication interface 1705 by system bus 1704 and complete mutual communication.
Processor 1701 may be single or multiple core central processing unit, be either specific integrated circuit or for by with
It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
Memory 1702 can be high-speed RAM memory, or nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.
Memory 1702 is used for computer executed instructions 1703.Specifically, it can include in computer executed instructions 1703
Program code.
When the device operation of the generation snapshot, processor 1701 runs computer executed instructions 1703, can perform
Method flow described in Fig. 2-Figure 10 is one of any.
It will be recognized by those of ordinary skill in the art that the possibility implementation of various aspects of the invention or various aspects
It can be embodied as system, method or computer program product.Therefore, each aspect of the present invention or various aspects
Possible implementation can use complete hardware embodiment, complete software embodiment (including firmware, resident software etc.), or
The form of the embodiment of integration software and hardware aspect, collectively referred to herein as " circuit ", " module " or " system ".In addition,
The possibility implementation of each aspect of the present invention or various aspects can use the form of computer program product, computer journey
Sequence product refers to be stored in the computer readable program code in computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer-readable recording medium.Computer can
Read storage medium including but not limited to electronics, magnetism, optics, electromagnetism, infrared or semiconductor system, equipment either device or
Foregoing is any appropriately combined, such as random access memory (RAM), read-only storage (ROM), the read-only storage of erasable programmable
Device (EPROM or flash memory), optical fiber, portable read-only storage (CD-ROM).
Processor in computer reads the computer readable program code being stored in computer-readable medium so that place
Reason device is able to carry out function action specified in the combination of each step or each step in flow charts;Generation is implemented in block diagram
Each piece or each piece of combination specified in function action device.
Computer readable program code can be performed completely on the computer of user, partly held on the computer of user
Row, as single software kit, partly on the computer of user and part on the remote computer, or completely long-range
Performed on computer or server.It is also noted that in some alternate embodiments, each step or frame in flow charts
Each piece of function of indicating may not be occurred by the order indicated in figure in figure.For example, dependent on involved function, show in succession
Two steps or two blocks gone out may be actually executed substantially concurrently, or these blocks sometimes may be by with opposite suitable
Sequence performs.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention answers the scope of the claims of being subject to.
Claims (20)
- A kind of 1. method for generating snapshot, it is characterised in that the described method includes:It is received as using the request for creating snapshot, described is the mark that the request of application establishment snapshot carries the application, is used for It is designated as the data creation snapshot of the application;According to the mark of the application, determine to run more virtual machines of the application;Determine the deployment services device of the more virtual machines, wherein, the more deploying virtual machines are on a deployment services device;Snapshot instruction is sent to the deployment services device for deploying the more virtual machines, the snapshot instruction carries the 3rd letter Breath, the deployment services devices of the more virtual machines is deployed described in the 3rd information instruction to different virtual machines identical Time starts the snapshot operation, and the snapshot instruction is used to indicate the deployment services device for deploying the more virtual machines The data of the more virtual machines are carried out with the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
- 2. according to the method described in claim 1, it is characterized in that, described is that the request of application establishment snapshot also carries instruction letter Breath, the configured information are used to indicate the snapshot operation for carrying out the data of the application uniformity;It is described to send snapshot instruction to the deployment services device for deploying the more virtual machines, including:According to the configured information, send the snapshot to the deployment services device for deploying the more virtual machines and instruct.
- 3. according to the method described in claim 1, it is characterized in that, further include:The snapshot policy of preset application, the snapshot policy instruction of the application carry out the data of the application snapshot of uniformity Operation;It is described to send snapshot instruction to the deployment services device for deploying the more virtual machines, including:According to the snapshot policy of the application, the snapshot is sent to the deployment services device for deploying the more virtual machines Instruction.
- A kind of 4. method for generating snapshot, it is characterised in that the described method includes:The request of virtual machine creating snapshot is received as, the request for virtual machine creating snapshot carries the mark of more virtual machines And configured information, the configured information are used to indicate the snapshot operation for carrying out the data of the more virtual machines uniformity;Determine the deployment services device of the more virtual machines, wherein, the more deploying virtual machines are on a deployment services device;According to the configured information, snapshot instruction is sent to the deployment services device for deploying the more virtual machines, it is described Snapshot instruction carries the 3rd information, and the deployment services device of the more virtual machines is deployed to not described in the 3rd information instruction With virtual machine start the snapshot operation at the same time, the snapshot instruction is used to indicating described to deploy described more The deployment services device of virtual machine carries out the data of the more virtual machines snapshot operation of uniformity to generate the more void The snapshot document of plan machine.
- A kind of 5. method for generating snapshot, it is characterised in that the described method includes:Backup instruction is received, the backup instruction carries the mark of application, for indicating to back up the data of the application;According to the mark of the application, determine to run more virtual machines of the application;Determine the deployment services device of the more virtual machines, wherein, the more deploying virtual machines are on a deployment services device;Snapshot instruction is sent to the deployment services device for deploying the more virtual machines, the snapshot instruction carries the 3rd letter Breath, the deployment services devices of the more virtual machines is deployed described in the 3rd information instruction to different virtual machines identical Time starts the snapshot operation, and the snapshot instruction is used to indicate the deployment services device for deploying the more virtual machines The data of the more virtual machines are carried out with the snapshot operation of uniformity to generate the snapshot document of the more virtual machines.
- 6. according to the method described in claim 5, it is characterized in that, the reception backup instruction, including receive user's triggering The backup instruction, the backup instruction carry the mark and configured information of the application, and the configured information is used for instruction pair The data of the application carry out the snapshot operation of uniformity;It is described to the deployment services device for deploying the more virtual machines Snapshot instruction is sent, including:According to the configured information, send the snapshot to the deployment services device for deploying the more virtual machines and instruct.
- 7. according to the method described in claim 6, it is characterized in that, further include:The backup policy of preset application and the snapshot policy of application, the snapshot policy of the application indicate the data to the application Carry out the snapshot operation of uniformity;Then the reception backup instruction includes:According to the backup policy of the application, the backup instruction is periodically generated, it is described standby Part instruction carries the mark of the application;It is described to send snapshot instruction to the deployment services device for deploying the more virtual machines, including:According to the application Snapshot policy, the deployment services device for deploying the more virtual machines to described sends the snapshot and instructs.
- A kind of 8. method for generating snapshot, it is characterised in that the described method includes:Snapshot instruction is received, the snapshot instruction is used to indicate the snapshot operation for carrying out more virtual machines uniformity, described fast The mark and the second information of virtual machine are carried according to instruction, the second information instruction starts the snapshot behaviour at the same time Make;According to second information, in the identical time, the write operation of the more virtual machines is hung up respectively;Snapshot is done to the storage volume of the more virtual machines to generate the snapshot document of the more virtual machines respectively.
- 9. a kind of device for generating snapshot, it is characterised in that described device includes:Receiving unit, for being received as carrying described answer using the request for creating snapshot, the request that snapshot is created for application Mark, for being designated as the data creation snapshot of the application;Determination unit, for the mark according to the application, determines more virtual machines of the operation application, and determines described The deployment services device of more virtual machines, wherein, the more deploying virtual machines are on a deployment services device;Transmitting element, for sending snapshot instruction, the snapshot to the deployment services device for deploying the more virtual machines Instruction carries the 3rd information, and the deployment services device of the more virtual machines is deployed to different described in the 3rd information instruction Virtual machine starts the snapshot operation at the same time, the snapshot instruction be used to indicating it is described deploy described more it is virtual The deployment services device of machine carries out the data of the more virtual machines snapshot operation of uniformity to generate the more virtual machines Snapshot document.
- 10. device according to claim 9, it is characterised in that described is that the request of application establishment snapshot also carries instruction Information, the configured information are used to indicate the snapshot operation for carrying out the data of the application uniformity;The transmitting element is specifically used for according to the configured information, to the deployment services for deploying the more virtual machines Device sends the snapshot instruction.
- 11. device according to claim 9, it is characterised in that described device further includes:Dispensing unit, for the snapshot policy of preset application, the instruction of the snapshot policy of the application to the data of the application into The snapshot operation of row uniformity;The transmitting element is specifically used for the snapshot policy according to the preset application of the dispensing unit, to described in described deploy The deployment services device of more virtual machines sends the snapshot instruction.
- 12. a kind of device for generating snapshot, it is characterised in that described device includes:Receiving unit, for being received as the request of virtual machine creating snapshot, the request for virtual machine creating snapshot carries more The mark and configured information of platform virtual machine, the configured information are used to indicate to carry out uniformity to the data of the more virtual machines Snapshot operation;Determination unit, for determining the deployment services device of the more virtual machines, wherein, the more deploying virtual machines are at one On deployment services device;Unit is provided, for sending snapshot instruction, the snapshot to the deployment services device for deploying the more virtual machines Instruction carries the 3rd information, and the deployment services device of the more virtual machines is deployed to different described in the 3rd information instruction Virtual machine starts the snapshot operation at the same time, and the snapshot instruction is used to indicate the data to the more virtual machines The snapshot operation of uniformity is carried out to generate the snapshot document of the more virtual machines.
- 13. a kind of device for generating snapshot, it is characterised in that described device includes:Receiving unit, for receiving backup instruction, the backup instruction carries the mark of application, for indicating to the application Data are backed up;Determination unit, for the mark according to the application, determines more virtual machines of the operation application and more described The deployment services device of virtual machine, wherein, the more deploying virtual machines are on a deployment services device;Transmitting element, for sending snapshot instruction, the snapshot to the deployment services device for deploying the more virtual machines Instruction carries the 3rd information, and the deployment services device of the more virtual machines is deployed to different described in the 3rd information instruction Virtual machine starts the snapshot operation at the same time, and the snapshot instruction is used to indicate the data to the more virtual machines The snapshot operation of uniformity is carried out to generate the snapshot document of the more virtual machines.
- 14. according to claim 13 any one of them device, it is characterised in that the receiving unit is specifically used for receiving user The backup instruction of triggering, the backup instruction carry the mark and configured information of the application, and the configured information is used for Indicate the snapshot operation to the data progress uniformity of the application;Then the transmitting element is specifically used for according to the configured information, is taken to the deployment for deploying the more virtual machines Business device sends the snapshot instruction.
- 15. device according to claim 14, it is characterised in that the receiving unit is additionally operable to according to preset application Backup policy, periodically generates the backup instruction, and the backup instruction carries the mark of the application;The transmitting element is additionally operable to the snapshot policy according to preset application, to the portion for deploying the more virtual machines Affix one's name to server and send the snapshot instruction, wherein, the snapshot policy of the application indicates to carry out the data of the application consistent The snapshot operation of property.
- 16. a kind of device for generating snapshot, it is characterised in that described device includes:Receiving unit, for receiving snapshot instruction, the snapshot instruction is used to indicate to carry out the fast of uniformity to more virtual machines According to operation, the snapshot instruction carries the mark and the second information of virtual machine, and the second information instruction is opened at the same time Move the snapshot operation;Snapshot unit, for according to second information, in the identical time, hanging up writing for the more virtual machines respectively Enter operation, snapshot is done to the storage volume of the more virtual machines to generate the snapshot document of the more virtual machines respectively.
- A kind of 17. system for generating snapshot, it is characterised in that including:Backup server, is that described is that application creates snapshot using the request of establishment snapshot for being sent to cloud operation server Request carry the mark of the application, for being designated as the data creation snapshot of the application;The cloud operates server, is using the request for creating snapshot for receiving described, according to the mark of the application, determines More virtual machines of the application are run, determine the deployment services device of the more virtual machines, wherein, the more virtual machine portions Administration sends snapshot instruction on a deployment services device, to the deployment services device for deploying the more virtual machines, described Snapshot instruction carries the 3rd information, and the deployment services device of the more virtual machines is deployed to not described in the 3rd information instruction With virtual machine start the snapshot operation at the same time, the snapshot instruction is used to indicating described to deploy described more The deployment services device of virtual machine carries out the data of the more virtual machines snapshot operation of uniformity to generate the more void The snapshot document of plan machine;The deployment services device, for receiving the snapshot instruction, instructs according to the snapshot, distinguishes at the time point of uniformity The write operation of the more virtual machines is hung up, snapshot is done to the storage volume of the more virtual machines to generate described more respectively The snapshot document of virtual machine.
- A kind of 18. system for generating snapshot, it is characterised in that including:Backup server, for receiving backup instruction, the backup instruction carries the mark of application, for indicating to the application Data backed up, according to the mark inquiry cloud operation server of the application with determine more of the operation application it is virtual Machine, and the request for virtual machine creating snapshot is sent to cloud operation server, the request for virtual machine creating snapshot is taken Mark and configured information with the more virtual machines, the configured information be used to indicating to the data of the more virtual machines into The snapshot operation of row uniformity;The cloud operates server, for the application identities carried according to the Query Information of the backup server, determines The mark of more virtual machines of the application is run, it is virtual machine creating snapshot to receive the described of the backup server transmission Request, determines the deployment services device of the more virtual machines, wherein, the more deploying virtual machines are in a deployment services device On, according to the configured information in the request for virtual machine creating snapshot, to the portion for deploying the more virtual machines Affix one's name to server and send snapshot instruction, the snapshot instruction carries the 3rd information, deployed described in the 3rd information instruction described The deployment services device of more virtual machines starts different virtual machines the snapshot operation, the snapshot instruction at the same time For indicating that the deployment services device for deploying the more virtual machines carries out uniformity to the data of the more virtual machines Snapshot operation to generate the snapshot document of the more virtual machines;The deployment services device, the snapshot instruction sent for receiving the cloud operation server, refers to according to the snapshot Order, the write operation of the more virtual machines is hung up at the time point of uniformity, the more virtual machines are deposited respectively respectively Storage volume does snapshot to generate the snapshot document of the more virtual machines.
- A kind of 19. system for generating snapshot, it is characterised in that including:Backup server, for receiving backup instruction, the backup instruction carries the mark of application, for indicating to the application Data backed up, according to the mark inquiry cloud operation server of the application with determine more of the operation application it is virtual The deployment services device of machine and the more virtual machines, wherein, the more deploying virtual machines on a deployment services device, with And snapshot instruction is sent to the deployment services device for deploying the more virtual machines, the snapshot instruction carries the 3rd letter Breath, the deployment services devices of the more virtual machines is deployed described in the 3rd information instruction to different virtual machines identical Time starts the snapshot operation, and the snapshot instruction is used to indicate the deployment services device for deploying the more virtual machines The data of the more virtual machines are carried out with the snapshot operation of uniformity to generate the snapshot document of the more virtual machines;The cloud operates server, for the mark of the application carried according to the Query Information of the backup server, really Surely more virtual machines of the application are run, determine the deployment services device of the more virtual machines, wherein, the more virtual machines It is deployed on a deployment services device;The deployment services device, the snapshot instruction sent for receiving the backup server, instructs according to the snapshot, The write operation of the more virtual machines is hung up respectively at the time point of uniformity, respectively to the storage volume of the more virtual machines Snapshot is done to generate the snapshot document of the more virtual machines.
- 20. a kind of device for generating snapshot, it is characterised in that described device connects including processor, memory, bus and communication Mouthful;The memory is used to store computer executed instructions, and the processor is connected with the memory by the bus, When the device operation of the generation snapshot, the processor performs the computer executed instructions of the memory storage, So that the method that the device of the generation snapshot performs the generation snapshot as described in any in claim 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217450.0A CN104809020B (en) | 2013-11-20 | 2013-11-20 | A kind of mthods, systems and devices for generating snapshot |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217450.0A CN104809020B (en) | 2013-11-20 | 2013-11-20 | A kind of mthods, systems and devices for generating snapshot |
CN201380002501.7A CN103946807B (en) | 2013-11-20 | 2013-11-20 | A kind of mthods, systems and devices of generating snapshot |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201380002501.7A Division CN103946807B (en) | 2013-11-20 | 2013-11-20 | A kind of mthods, systems and devices of generating snapshot |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104809020A CN104809020A (en) | 2015-07-29 |
CN104809020B true CN104809020B (en) | 2018-05-11 |
Family
ID=53716250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510217450.0A Active CN104809020B (en) | 2013-11-20 | 2013-11-20 | A kind of mthods, systems and devices for generating snapshot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104809020B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402839B (en) * | 2016-05-18 | 2021-03-09 | 深信服科技股份有限公司 | Method and system for backing up data |
CN107038096B (en) * | 2016-12-30 | 2018-01-19 | 平安科技(深圳)有限公司 | Virtual disk standby system, method and apparatus |
CN108829813A (en) * | 2018-06-06 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of File Snapshot method and system based on distributed memory system |
CN110737503B (en) * | 2018-07-20 | 2021-09-14 | 华为技术有限公司 | Management method and device for container service snapshot |
US11188364B1 (en) * | 2020-08-28 | 2021-11-30 | International Business Machines Corporation | Compilation strategy for a sharable application snapshot |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101421715A (en) * | 2006-04-17 | 2009-04-29 | 微软公司 | Creating host-level application-consistent backups of virtual machines |
CN101443748A (en) * | 2006-05-08 | 2009-05-27 | 微软公司 | Converting machines to virtual machines |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8239646B2 (en) * | 2007-07-31 | 2012-08-07 | Vmware, Inc. | Online virtual machine disk migration |
US8458419B2 (en) * | 2008-02-27 | 2013-06-04 | International Business Machines Corporation | Method for application backup in the VMware consolidated backup framework |
US8930652B2 (en) * | 2009-11-11 | 2015-01-06 | Red Hat Israel, Ltd. | Method for obtaining a snapshot image of a disk shared by multiple virtual machines |
-
2013
- 2013-11-20 CN CN201510217450.0A patent/CN104809020B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101421715A (en) * | 2006-04-17 | 2009-04-29 | 微软公司 | Creating host-level application-consistent backups of virtual machines |
CN101443748A (en) * | 2006-05-08 | 2009-05-27 | 微软公司 | Converting machines to virtual machines |
Also Published As
Publication number | Publication date |
---|---|
CN104809020A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103946807B (en) | A kind of mthods, systems and devices of generating snapshot | |
CN110704155B (en) | Container network construction method and device, physical host and data transmission method | |
Darabseh et al. | Sdstorage: a software defined storage experimental framework | |
CN105556478B (en) | System and method for protecting virtual-machine data | |
CN106528327B (en) | A kind of data processing method and backup server | |
CN104809020B (en) | A kind of mthods, systems and devices for generating snapshot | |
US9380456B1 (en) | System, method and computer program product for dynamically switching operating systems in a virtual mobile device platform | |
CN103843284A (en) | Disaster tolerance method, system and device of cloud application | |
CN109906597B (en) | Storing and retrieving restricted and unrestricted data sets to and from a cloud network | |
US9667703B1 (en) | System, method and computer program product for generating remote views in a virtual mobile device platform | |
EP3481007A1 (en) | Method, device, and equipment for processing resource pool | |
US10361995B2 (en) | Management of clustered and replicated systems in dynamic computing environments | |
US9652263B2 (en) | Migrating servers into a secured environment | |
CN105450759A (en) | System mirror image management method and device | |
CN109992956A (en) | The processing method and relevant apparatus of the security strategy of container | |
US20170257263A1 (en) | Method and appartus to allow dynamic changes of a replica network configuration in distrubted systems | |
CN117616395A (en) | Continuous liveness and integrity of applications during migration | |
CN109857464A (en) | System and method for Platform deployment and operation Mobile operating system | |
AU2021236350B2 (en) | Virtual machine perfect forward secrecy | |
CN110870275B (en) | Method and apparatus for shared memory file transfer | |
US20210165720A1 (en) | Backup system for an overlay network | |
US20170041187A1 (en) | Managing network connectivity of a virtual machine related to a shared pool of configurable computing resources | |
CN108874504A (en) | A kind of management method and device of multiple virtualization platform | |
US11875202B2 (en) | Visualizing API invocation flows in containerized environments | |
US20220179754A1 (en) | Cloning storage volumes from backup |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |