CN106528327B - A kind of data processing method and backup server - Google Patents
A kind of data processing method and backup server Download PDFInfo
- Publication number
- CN106528327B CN106528327B CN201610875338.0A CN201610875338A CN106528327B CN 106528327 B CN106528327 B CN 106528327B CN 201610875338 A CN201610875338 A CN 201610875338A CN 106528327 B CN106528327 B CN 106528327B
- Authority
- CN
- China
- Prior art keywords
- backup
- virtual machine
- node
- data
- backup node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present application discloses a kind of data processing method and backup server, in instant recovery tasks after switching over, it is ensured that data breakpoint resumes.The embodiment of the present application method includes: that Backup Data is virtually block storage equipment by the first backup node, and the specification of the virtual machine carried according to Backup Data creates target virtual machine;First backup node is block storage device identification global identity title WWN;Management node obtains and saves the mark and WWN of target virtual machine;When management node determines that instant recovery task breaks down, management node sends to the second backup node and executes executing instruction for instant recovery task;Second backup node obtains the mark of ephemeral data storage Data Storer, the mark of WWN and target virtual machine;Backup Data is virtually block storage equipment by the second backup node, and is block storage device identification WWN;Second backup node stores equipment according to block, and the mark of interim Data Storer and the mark of target virtual machine execute instant recovery task.
Description
Technical field
This application involves computer field more particularly to a kind of data processing method and backup servers.
Background technique
It is more next with the continuous development of information technology (full name in English: information technology, abbreviation: IT)
More enterprises transform the IT infrastructure of its data center as virtualization and cloud environment, to be mentioned using virtualization technology
For the service efficiency of computing resource, elastic calculation system architecture is realized.In cloud computing/virtualized environment, to avoid due to people
It is lost for virtual-machine data caused by accidentally deletion or the system failure, it is standby to virtual machine progress data generally to introduce standby system
Part, virtual-machine data is backuped on third-party backup storage device.When virtual-machine data is restored, needing will be standby before
The data of part are restored in production environment from backup storage.
Occurs a kind of virtual machine instant recovery technology in recent years, realization process is that Backup Data is modeled as network file system
System (full name in English: Network File System, referred to as: NFS) shared, which is shared and is mounted to production environment host simultaneously
It is created as NFS data storage (full name in English: Data Store), is then registered in NFS Data Store in production environment
Virtual machine finally can directly run the virtual machine in NFS DataStore, above-mentioned NFS DataStore carry and creation
After being completed with virtual machine registration action, so that it may directly initiate the virtual machine to be restored.Since NFS Data Store is arranged
For non-persistentization storage, the data that the virtual machine that instant recovery comes out is written when being written and read are stored in NFS
In the temporary memory space of DataStore.Industry backup server generally uses multinode distributed structure/architecture, has in reliability
Task failover mechanism Failover can be automatically switched on another backup node after mission failure and be re-executed.
Prior art is that the NFS simulated on backup node shares, i.e., externally provides the address of NFS shared service
For Internet protocol (full name in English: Internet Protocol, abbreviation: IP) address of backup node.Once backup occurs to appoint
The execution failure failure of the failover of business, i.e. backup tasks itself, NFS shared service before can interrupt.It will lead in this way
After instant recovery tasks failure, it is switched to after another backup node re-executes, instant recovery task before is
The recovery data of transmission do not support breakpoint transmission, can only all accent starts to restore again.
Summary of the invention
The embodiment of the present application provides a kind of data processing method and backup server, for existing in instant recovery tasks
After switching over, it is ensured that data breakpoint resumes.
In a first aspect, the embodiment of the present application provides a kind of data processing method, comprising:
The data processing method is used for backup server, which includes management node, the first backup node, the
Two backup nodes;Wherein first backup node is the execution node for being carrying out instant recovery task, second backup node
To continue to execute the execution node of the instant recovery task after the instant recovery task breaks down.And the data processing side
Method specifically comprises the following steps: that Backup Data is virtually block storage equipment by first backup node, and according to the Backup Data
The specification of the virtual machine of carrying creates target virtual machine;First backup node is that the block storage that the Backup Data virtually generates is set
Standby mark asks mark title (full name in English: World Wide Name, abbreviation: WWN) entirely;The management node obtains and saves this
The mark of target virtual machine and the WWN;During backup server operation, when the management node determines the instant recovery task
When breaking down, which sends to second backup node and executes executing instruction for the instant recovery task;This second
For backup node after receiving this and executing instruction, which obtains the mark of ephemeral data storage Data Storer
Know, the mark of the WWN and the target virtual machine, which is to preset;Second backup node is standby by this
Part data virtual is block storage equipment, and is the block storage device identification WWN;Second backup node is stored according to the block
The mark of equipment, the mark of the interim Data Storer and the target virtual machine executes the instant recovery task.
In the embodiment of the present application, first backup node is before obtaining the Backup Data, and the backup server is from backup
Backup Data is determined in memory space, and is selected for storing the interim DataStorer of ephemeral data and for restoring virtual machine
Target Data Storer.The mark of the interim Data Storer and the mark of target Data Storer are stored in advance in
The management node of the backup server.The management node of the backup server is determined by load-balancing mechanism and is first carried out immediately
First backup node of recovery tasks, and the instruction for executing instant recovery task is sent to first backup node.This first
The metadata that backup node obtains the Backup Data that the backup server determines is verified, and after verification passes through, this first
Backup node is just available to arrive the Backup Data.
In technical solution provided by the embodiments of the present application, which is that block storage is set with first backup node
Standby to identify identical WWN, i.e., it is identical to store equipment for second backup node and the block that first backup node uses, at the same this
Two backup nodes and first backup node use identical interim Data Storer and target virtual machine, therefore this is second standby
Part node is when executing instant recovery task, it is ensured that continues to execute the instant recovery on the basis of first backup node
Task, that is, guaranteeing can be with breakpoint transmission.
Optionally, which further includes following scheme: first backup node is by block storage equipment with original
Beginning device map (full name in English: Raw Device Mapping, referred to as: RDM) mode carry give the target virtual machine, and
The interim Data Storer generates virtual machine VM disk file;First backup node is interim by this by the VM disk file
Data Storer, which is moved to, presets target data storage Data Storer.
In technical solution provided by the embodiments of the present application, which utilizes the number of production environment virtual platform
Backup Data is migrated according to transfer ability and completes instant recovery into target Data Storer.
Optionally, which further includes following scheme: first backup node is the mesh using snapping technique
It marks virtual machine and generates snapshot document, and generate change-over virtual machine Delta VM disk file in the interim Data Storer;This
The Delta VM disk file is moved to target Data Storer by the interim Data Storer by one backup node.
In technical solution provided by the embodiments of the present application, which utilizes the number of production environment virtual platform
According to transfer ability and snapping technique by the read-write Data Migration generated in instant recovery task to target Data Storer,
To prevent the read-write loss of data.
Optionally, which further includes following scheme: first backup node is by block storage equipment with original
The mode carry of beginning device map RDM gives the target virtual machine, and generates virtual machine VM disk text in the interim Data Storer
Part;First backup node is target virtual machine generation snapshot document using snapping technique, and in the interim Data Storer
Generate change-over virtual machine Delta VM disk file;First backup node is literary by the VM disk file and the Delta VM disk
Part moves to target Data Storer by the interim Data Storer.
In technical solution provided by the embodiments of the present application, which utilizes the number of production environment virtual platform
Backup Data is migrated according to transfer ability and completes instant recovery into target Data Storer.First backup node benefit simultaneously
The read-write data that will be generated in instant recovery task with the Data Migration ability of production environment virtual platform and snapping technique
Target Data Storer is moved to, to prevent the read-write loss of data.
Optionally, first backup node by the VM disk file and the Delta VM disk file by the interim Data
After Storer moves to target Data Storer, which deletes the snapshot document, target Data
Storer merges the VM disk file and the Delta VM disk file.
In technical solution provided by the embodiments of the present application, memory space can be effectively saved.
Second aspect, the embodiment of the present application provide a kind of backup server, which, which has, realizes above-mentioned side
The function of backup server in method.The function can also execute corresponding software realization by hardware realization by hardware.
The hardware or software include one or more modules corresponding with above-mentioned function.The backup server includes:
First backup node, for being virtually block storage equipment by Backup Data, and carried according to the Backup Data
The specification of virtual machine creates target virtual machine;For block storage device identification global identity title WWN;
The management node, for obtaining and saving the mark and the WWN of the target virtual machine;When determine the instant recovery appoint
When business is broken down, is sent to second backup node and execute executing instruction for the instant recovery task;
Second backup node, for obtaining the mark of ephemeral data storage Data Storer, the WWN and the target are empty
The mark of quasi- machine, the interim Data Storer are to preset;It is virtually block storage equipment by the Backup Data, and to be somebody's turn to do
The block storage device identification WWN;Equipment, the mark and the target virtual machine of the interim Data Storer are stored according to the block
Mark execute the instant recovery task.
The third aspect, the embodiment of the present application provide a kind of computer storage medium, are stored in the computer storage medium
Program code, the program code are used to indicate the method for executing above-mentioned first aspect or second aspect.
As can be seen from the above technical solutions, the embodiment of the present application have the advantage that second backup node and this
One backup node is the identical WWN of block storage device identification, i.e. the block that uses of second backup node and first backup node
It is identical to store equipment, while second backup node and first backup node use identical interim Data Storer and mesh
Virtual machine is marked, therefore second backup node is when executing instant recovery task, it is ensured that in the base of first backup node
The instant recovery task is continued to execute on plinth, that is, guaranteeing can be with breakpoint transmission.
Detailed description of the invention
Fig. 1 is the system framework figure of data processing method in the embodiment of the present application;
Fig. 2 is one embodiment schematic diagram of data processing method in the embodiment of the present application;
Fig. 3 is one embodiment schematic diagram of backup server in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides a kind of data processing method and backup server, for existing in instant recovery tasks
After switching over, it is ensured that data breakpoint resumes.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
Data processing system frame diagram shown in FIG. 1 is please referred to, includes backup server in the data processing system frame,
Backup storage, production environment and production inventory.Wherein, backup server includes management node, the first backup node, and second
Backup node, third backup node.It is understood that the backup server may include multiple backup nodes, not only
Three backup nodes drawn in figure.Each backup node is that the backup in data processing system executes node, provides backup
Recovery tasks execute function.The management node provides the functions such as backup management and the system administration of data processing system;It bears simultaneously
The scheduling for blaming Backup and Restore task in data processing system, provides task schedule load balancing and failover capability.Backup is deposited
The Backup Data of virtual machine in storage production environment is responsible in storage.Production environment is responsible for carrying the production business of user, generallys use
Virtualized infrastructure framework includes multiple virtual machines on host and host.Production inventory is responsible for storing production environment
Middle production business datum.
Each backup node in the backup server uses multinode distributed structure/architecture, has task in reliability
Failover mechanism, i.e., on current backup node after mission failure, which can automatically switch to weight on another backup node
It is new to execute.And in current virtual machine instant recovery technology, the NFS simulated on the backup node is shared, i.e., externally provides NFS
The address of shared service is Internet protocol (full name in English: Internet Protocol, abbreviation: IP) address of backup node.
Once the failover of backup tasks occurs, i.e. the execution failure failure of backup tasks itself, in NFS shared service meeting before
It is disconnected.It will lead to after instant recovery tasks failure, be switched to after another backup node re-executes in this way, before instant
The recovery data that recovery tasks have been transmitted do not support breakpoint transmission, can only all accent starts to restore again.
In order to solve this problem, the embodiment of the present application provides following solution: first backup node will back up
Data virtual is that block stores equipment, and the specification of the virtual machine carried according to the Backup Data creates target virtual machine;This first
Backup node is the block storage device identification WWN that the Backup Data virtually generates;The management node obtains and saves target void
The mark and the WWN of quasi- machine;During backup server operation, when the management node determines that event occurs for the instant recovery task
When barrier, which sends to second backup node and executes executing instruction for the instant recovery task;The second backup section
After receiving this and executing instruction, which obtains the mark of ephemeral data storage Data Storer, is somebody's turn to do point
The mark of WWN and the target virtual machine, the interim Data Storer are to preset;Second backup node is by the backup number
According to virtually be the block store equipment, and be the block storage device identification WWN;Second backup node is set according to the block storage
Standby, interim Data Storer mark and the mark of the target virtual machine execute the instant recovery task.
Referring specifically to shown in Fig. 2, a kind of one embodiment of data processing method in the embodiment of the present application, comprising:
201, Backup Data is virtually block storage equipment by the first backup node, and according to the virtual of Backup Data carrying
The specification of machine creates target virtual machine.
Execution node of first backup node as current instant recovery task, receiving, execution virtual machine is immediately extensive
After the instruction of multiple task, the backup which gets Backup Data, and will acquire from backup storage
Data virtual is that block stores equipment;In addition first backup node is created according to the specification of the virtual machine carried in the Backup Data
One new target virtual machine.The specification of the virtual machine includes CPU model, the size of memory and the size of hard disk.Such as it should
The specification of the virtual machine carried in Backup Data is that CPU is 2 cores, inside saves as 3.5 gigabytes (full name in English: gigabyte, letter
Claim: GB), hard disk 500GB, then it is 2 cores that the specification of the target virtual machine of first backup node creation, which is CPU, is inside saved as
3.5GB, hard disk 500GB.
In practical applications, which can be based on open source software tgt, lio or scst for the Backup Data
Equipment virtually is stored for block, which kind of mode is specifically used, herein without limitation.
It is understood that first backup node is before obtaining the Backup Data, the backup in the embodiment of the present application
Server determines Backup Data from backup storage, and the ephemeral data for storing ephemeral data is selected to store Data
Storer and target Data Storer for restoring virtual machine.The mark and target Data of the interim Data Storer
The mark of Storer is stored in advance in the management node of the backup server.The management node of the backup server is equal by load
Weighing apparatus mechanism determines first backup node that instant recovery task is first carried out, and sends and executed immediately to first backup node
The instruction of recovery tasks.The metadata that first backup node obtains the Backup Data that the backup server determines is verified,
After verification passes through, first backup node is just available to arrive the Backup Data.For example, there is backup in backup storage
Data A, Backup Data B, the specification for the virtual machine that Backup Data C, Backup Data A are carried are default specification;The backup services
There are the first backup node, the second backup node, third backup node in device.Appoint if the backup server needs to carry out instant recovery
Business, and the backup server determines Backup Data of the Backup Data A as instant recovery, has determined and has faced in production inventory space
When the address of the Data Storer and address of target Data Storer.The management node is determining first backup node work
After execution node to execute the instant recovery task, which can obtain the ground of the interim Data Storer
The address of location and target Data Storer;First backup node also will acquire the metadata of Backup Data A and carry out
Whole property verification.If first backup node determines that Backup Data A is complete, which obtains Backup Data A.
First backup node creates one in production environment according to the specification (i.e. default specification) of the Backup Data A virtual machine carried
Target virtual machine, the specification of the target virtual machine are default specification.First backup node deposits Backup Data A virtually for block
Store up equipment A.
202, first backup node is block storage device identification WWN.
Backup Data is virtually being to store equipment annotation after the block stores equipment for the block by first backup node
WWN。
In the embodiment of the present application, which can store equipment A to block and mark WWN.
203, the mark of the WWN and the target virtual machine are sent to the management node by first backup node.
The mark for the target virtual machine that first backup node creates the WWN of block storage equipment and first backup node
It is sent to the management node.
In the embodiment of the present application, which sends out the mark of the WWN of block storage equipment A and the target virtual machine
Give the management node.
In actual normal instant recovery task, first backup node after creating the target virtual machine,
It is enterprising in the target virtual machine that the block can be stored equipment carry in a manner of original device mapping by first backup node
The instant recovery task of row virtual machine, while the ephemeral data of generation is generated magnetic disk of virtual machine file simultaneously by first backup node
The magnetic disk of virtual machine file is stored in the interim Data Storer;Then first backup node is by the magnetic disk of virtual machine
File migration is stored to target Data Storer, to complete instant recovery task.Optionally, first backup node
Data in the target virtual machine can also be generated snapshot document by snapping technique, and according to the interim Data Storer
Mark stored, be generated as change-over virtual machine disk file, the change-over virtual machine disk file then moved into target
Target Data Storer is stored.Optionally, which can also be after migration be completed by the snapshot of generation
File is deleted.In practical applications, which can delete or not delete, and concrete condition does not limit herein
It is fixed.
204, the management node saves the mark of the WWN and the target virtual machine.
The management node is after receiving the mark of the WWN and the target virtual machine, by the WWN and the target virtual machine
Mark saved.
205, when the management node determines that the instant recovery task breaks down, the management node is to the second backup node
Send the instruction for executing the instant recovery task.
The management node will regularly monitor the progress and real-time status of the instant recovery task during actual motion,
If the management node detect the real-time condition display of the instant recovery task instant recovery task break down (such as this
One backup node power down restarts etc. or access backup storage failure, from production environment reads data failure etc.), then the management
Node determines that second backup node is the execution node for executing the instant recovery task by load-balancing mechanism, and to this
Two backup nodes send the instruction for executing the instant recovery task.
206, the management node sends the WWN and the mark of the target virtual machine to second backup node, and interim
The mark of Data Storer.
The management node is after having determined the execution node that second backup node is the instant recovery task, the management
Node sends the mark of the WWN He the interim Data Storer to second backup node.
207, the Backup Data is virtually block storage equipment by second backup node, and is the block storage device identification
The WWN.
Second backup node obtains after the instruction for receiving the execution of the management node transmission instant recovery task
The Backup Data is taken, then the Backup Data is virtually block storage equipment by second backup node, and is set for the block storage
It is standby to identify the WWN.
In the embodiment of the present application, second backup node is before obtaining the Backup Data, and the management node is by the backup
The mark of the information of data, the mark of the target virtual machine, the mark of the interim Data Storer and target Data Storer
Knowledge is sent to second backup node.The metadata that second backup node obtains the Backup Data is verified, logical in verification
After crossing, second backup node is just available to arrive the Backup Data.For example second backup is being determined in the management node
After node is as the execution node for continuing to execute the instant recovery task, which obtains the interim Data
The address of the address of Storer and target Data Storer;Second backup node also obtains the metadata of Backup Data A
And carry out completeness check.If second backup node determines that Backup Data A is complete, it is standby which obtains this
Part data A.Second backup node also needs virtually to deposit Backup Data A for block based on open source software tgt, lio or scst
Store up equipment A.
208, second backup node is empty using block storage equipment, the mark of the interim Data Storer and the target
The mark of quasi- machine executes the instant recovery task.
After second backup node obtains block storage equipment, which utilizes the mark of the target virtual machine
Know and the mark of the interim Data Storer executes the instant recovery task.
In the embodiment of the present application, which is stored in ephemeral data in the interim Data Storer, this
Two backup nodes work the target virtual machine as the virtual machine in production environment.Second backup node is normally being held
When the row instant recovery task, the step of execution with first backup node the step of normally executing the instant recovery task phase
Together, details are not described herein again.
In the embodiment of the present application, which is that block storage device identification is identical with first backup node
WWN, i.e. second backup node are identical as block that first backup node uses storage equipment, at the same second backup node with
First backup node uses identical interim Data Storer and target virtual machine, therefore second backup node is executing
When instant recovery task, it is ensured that continue to execute the instant recovery task on the basis of first backup node, that is, guarantee
It can be with breakpoint transmission.
The data processing method in the embodiment of the present application is described above, below to standby in the embodiment of the present application
Part server is described.
Referring specifically to Fig. 3, one embodiment of the backup server 300 in the embodiment of the present application, comprising: this is first standby
Part node 301, for being virtually block storage equipment by Backup Data, and the specification of the virtual machine carried according to the Backup Data is created
Build target virtual machine;For block storage device identification global identity title WWN;
The management node 302, for obtaining and saving the mark and the WWN of the target virtual machine;When determine this immediately it is extensive
When multiple task breaks down, is sent to second backup node and execute executing instruction for the instant recovery task;
Second backup node 303, for obtaining the mark of ephemeral data storage Data Storer, the WWN and the target
The mark of virtual machine, the interim Data Storer are to preset;Virtually it is block storage equipment by the Backup Data, and is
The block storage device identification WWN;Equipment, the mark and the destination virtual of the interim Data Storer are stored according to the block
The mark of machine executes the instant recovery task.
Optionally, first backup node 301 is also used to store equipment for described piece with original device mapping RDM's
Mode carry gives the target virtual machine, and generates virtual machine VM disk file in the interim Data Storer;By the VM
Disk file moves to target data storage Data Storer, the target Data by the interim Data Storer
Storer is to preset.
Optionally, first backup node 301 is also used to be that the target virtual machine generates snapshot using snapping technique
File, and change-over virtual machine Delta VM disk file is generated in the interim Data Storer;By the Delta VM disk
File moves to the target Data Storer by the interim Data Storer.
Optionally, first backup node 301 is also used to store equipment for described piece with original device mapping RDM's
Mode carry gives the target virtual machine, and generates virtual machine VM disk file in the interim Data Storer;Utilize snapshot
Technology is that the target virtual machine generates snapshot document, and generates change-over virtual machine Delta in the interim Data Storer
VM disk file;The VM disk file and the Delta VM disk file are moved to by the interim Data Storer
The target Data Storer.
Optionally, first backup node, is also used to delete the snapshot document.
In the embodiment of the present application, which is block storage device identification phase with first backup node 301
With WWN, i.e. it is identical to store equipment second backup node 303 and block that first backup node 301 uses, at the same this second
Backup node 303 and first backup node 301 use identical interim Data Storer and target virtual machine, thus this
Two backup nodes 303 are when executing instant recovery task, it is ensured that continue to execute on the basis of first backup node 301
The instant recovery task, that is, guaranteeing can be with breakpoint transmission.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of data processing method, which is characterized in that run on backup server, the backup server includes management section
Point, the first backup node, the second backup node;First backup node is the execution section for being carrying out instant recovery task
Point, second backup node are to continue to execute the instant recovery task after the instant recovery task breaks down
Execute node, which comprises
Backup Data is virtually block storage equipment by first backup node, and according to the virtual machine of Backup Data carrying
Specification create target virtual machine;
First backup node is described piece of storage device identification global identity title WWN;
The management node obtain and save the target virtual machine mark and the WWN;
When the management node determines that the instant recovery task breaks down, the management node is saved to second backup
Point, which is sent, executes executing instruction for the instant recovery task;
Second backup node obtains mark, the WWN and the target virtual machine of ephemeral data storage Data Storer
Mark, the interim Data Storer be preset;
The Backup Data is virtually described piece of storage equipment by second backup node, and is described piece of storage device identification
The WWN;
Second backup node is according to described piece of storage equipment, the mark and the target of the interim Data Storer
The mark of virtual machine executes the instant recovery task.
2. the method according to claim 1, wherein the method also includes:
By described piece of storage equipment, the carry in a manner of original device mapping RDM gives the destination virtual to first backup node
Machine, and virtual machine VM disk file is generated in the interim Data Storer;
The VM disk file is moved to target data storage by the interim Data Storer by first backup node
Data Storer, the target Data Storer are to preset.
3. the method according to claim 1, wherein the method also includes:
First backup node is target virtual machine generation snapshot document using snapping technique, and in the interim Data
Storer generates change-over virtual machine Delta VM disk file;
The Delta VM disk file is moved to the target by the interim Data Storer by first backup node
Data Storer。
4. the method according to claim 1, wherein the method also includes:
By described piece of storage equipment, the carry in a manner of original device mapping RDM gives the destination virtual to first backup node
Machine, and virtual machine VM disk file is generated in the interim Data Storer;
First backup node is target virtual machine generation snapshot document using snapping technique, and in the interim Data
Storer generates change-over virtual machine Delta VM disk file;
First backup node is by the VM disk file and the Delta VM disk file by the interim Data
Storer moves to the target Data Storer.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
First backup node deletes the snapshot document.
6. a kind of backup server, which is characterized in that including the first backup node, the second backup node, management node, described
One backup node is the execution node for being carrying out instant recovery task, and second backup node is to appoint in the instant recovery
After business is broken down, the execution node of the instant recovery task is continued to execute, the backup server includes:
First backup node, for being virtually block storage equipment by Backup Data, and carried according to the Backup Data
The specification of virtual machine creates target virtual machine;For described piece of storage device identification global identity title WWN;
The management node, for obtain and save the target virtual machine mark and the WWN;It is described immediately extensive when determining
When multiple task breaks down, the second backup node of Xiang Suoshu, which is sent, executes executing instruction for the instant recovery task;
Second backup node, for obtaining the mark of ephemeral data storage Data Storer, the WWN and the target
The mark of virtual machine, the interim Data Storer are to preset;It is virtually that described piece of storage is set by the Backup Data
It is standby, and be WWN described in described piece of storage device identification;According to described piece of storage equipment, the mark of the interim Data Storer
And the mark of the target virtual machine executes the instant recovery task.
7. backup server according to claim 6, which is characterized in that
First backup node is also used to described piece of storage equipment in such a way that original device maps RDM carry to described
Target virtual machine, and virtual machine VM disk file is generated in the interim Data Storer;By the VM disk file by described
It is to preset that interim Data Storer, which moves to target data storage Data Storer, the target Data Storer,.
8. backup server according to claim 6, which is characterized in that
First backup node is also used to be target virtual machine generation snapshot document using snapping technique, and described
Interim Data Storer generates change-over virtual machine Delta VM disk file;The Delta VM disk file is faced by described
When Data Storer move to the target Data Storer.
9. backup server according to claim 6, it is characterised in that
First backup node is also used to described piece of storage equipment in such a way that original device maps RDM carry to described
Target virtual machine, and virtual machine VM disk file is generated in the interim Data Storer;It is the target using snapping technique
Virtual machine generates snapshot document, and generates change-over virtual machine Delta VM disk file in the interim Data Storer;By institute
It states VM disk file and the Delta VM disk file and the target Data is moved to by the interim Data Storer
Storer。
10. backup server according to claim 9, which is characterized in that
First backup node, is also used to delete the snapshot document.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610875338.0A CN106528327B (en) | 2016-09-30 | 2016-09-30 | A kind of data processing method and backup server |
PCT/CN2017/081070 WO2018058942A1 (en) | 2016-09-30 | 2017-04-19 | Data processing method and backup server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610875338.0A CN106528327B (en) | 2016-09-30 | 2016-09-30 | A kind of data processing method and backup server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528327A CN106528327A (en) | 2017-03-22 |
CN106528327B true CN106528327B (en) | 2019-06-21 |
Family
ID=58333004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610875338.0A Active CN106528327B (en) | 2016-09-30 | 2016-09-30 | A kind of data processing method and backup server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106528327B (en) |
WO (1) | WO2018058942A1 (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528327B (en) * | 2016-09-30 | 2019-06-21 | 华为技术有限公司 | A kind of data processing method and backup server |
CN108052419B (en) * | 2018-01-05 | 2021-10-26 | 哈尔滨学院 | Data disaster tolerance method |
CN110058961B (en) * | 2018-01-18 | 2023-05-05 | 伊姆西Ip控股有限责任公司 | Method and apparatus for managing storage system |
CN110209537B (en) * | 2018-02-28 | 2020-09-11 | 杭州海康威视***技术有限公司 | Video data processing method, device and system and electronic equipment |
CN109189550A (en) * | 2018-08-03 | 2019-01-11 | 广州竞德信息技术有限公司 | A kind of control method of virtualized server |
CN110858791A (en) * | 2018-08-22 | 2020-03-03 | 华为技术有限公司 | Distributed parallel transmission method, device, equipment and storage medium |
CN111198784B (en) * | 2018-11-16 | 2024-04-23 | 杭州海康威视***技术有限公司 | Data storage method and device |
CN112181583A (en) * | 2019-07-05 | 2021-01-05 | 中国电信股份有限公司 | Virtualization management system, method, and computer-readable storage medium |
CN112416652A (en) * | 2019-08-22 | 2021-02-26 | 华为技术有限公司 | Data backup method and data backup |
CN111585806A (en) * | 2020-04-30 | 2020-08-25 | 南通凡肯电子设备研发有限公司 | Control system and control method for double-host communication |
CN111722880B (en) * | 2020-05-11 | 2024-02-09 | 深圳市共进电子股份有限公司 | Equipment production method and device, terminal equipment and medium |
CN112380062A (en) * | 2020-11-17 | 2021-02-19 | 上海英方软件股份有限公司 | Method and system for rapidly recovering system for multiple times based on system backup point |
CN113778744B (en) * | 2021-01-05 | 2024-06-18 | 北京沃东天骏信息技术有限公司 | Task processing method, device, system and storage medium |
CN113190371B (en) * | 2021-05-18 | 2024-04-05 | 京东科技信息技术有限公司 | Task compensation method and device, electronic equipment and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588923A (en) * | 2004-10-18 | 2005-03-02 | 北京首信股份有限公司 | Method for realizing seamless changing of master and spare service module |
CN102594849A (en) * | 2011-01-06 | 2012-07-18 | 阿里巴巴集团控股有限公司 | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device |
CN103001987A (en) * | 2011-09-16 | 2013-03-27 | ***通信集团公司 | Data processing method and data processing node |
CN103516736A (en) * | 2012-06-20 | 2014-01-15 | 中兴通讯股份有限公司 | Data recovery method of distributed cache system and a data recovery device of distributed cache system |
CN105677506A (en) * | 2014-11-21 | 2016-06-15 | 华为技术有限公司 | Disk array backup method, electronic equipment and disk arrays |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030200247A1 (en) * | 2002-02-02 | 2003-10-23 | International Business Machines Corporation | Server computer and a method for accessing resources from virtual machines of a server computer via a fibre channel |
CN101539873B (en) * | 2009-04-15 | 2011-02-09 | 成都市华为赛门铁克科技有限公司 | Data recovery method, data node and distributed file system |
CN105446982A (en) * | 2014-06-30 | 2016-03-30 | 国际商业机器公司 | Data storage system management method and device |
CN106528327B (en) * | 2016-09-30 | 2019-06-21 | 华为技术有限公司 | A kind of data processing method and backup server |
-
2016
- 2016-09-30 CN CN201610875338.0A patent/CN106528327B/en active Active
-
2017
- 2017-04-19 WO PCT/CN2017/081070 patent/WO2018058942A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588923A (en) * | 2004-10-18 | 2005-03-02 | 北京首信股份有限公司 | Method for realizing seamless changing of master and spare service module |
CN102594849A (en) * | 2011-01-06 | 2012-07-18 | 阿里巴巴集团控股有限公司 | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device |
CN103001987A (en) * | 2011-09-16 | 2013-03-27 | ***通信集团公司 | Data processing method and data processing node |
CN103516736A (en) * | 2012-06-20 | 2014-01-15 | 中兴通讯股份有限公司 | Data recovery method of distributed cache system and a data recovery device of distributed cache system |
CN105677506A (en) * | 2014-11-21 | 2016-06-15 | 华为技术有限公司 | Disk array backup method, electronic equipment and disk arrays |
Also Published As
Publication number | Publication date |
---|---|
WO2018058942A1 (en) | 2018-04-05 |
CN106528327A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528327B (en) | A kind of data processing method and backup server | |
CN112099918B (en) | Live migration of clusters in a containerized environment | |
US11429499B2 (en) | Heartbeat monitoring of virtual machines for initiating failover operations in a data storage management system, including operations by a master monitor node | |
US9727429B1 (en) | Method and system for immediate recovery of replicated virtual machines | |
US10169173B2 (en) | Preserving management services with distributed metadata through the disaster recovery life cycle | |
US9753761B1 (en) | Distributed dynamic federation between multi-connected virtual platform clusters | |
US9575894B1 (en) | Application aware cache coherency | |
US9201736B1 (en) | Methods and apparatus for recovery of complex assets in distributed information processing systems | |
US20200026786A1 (en) | Management and synchronization of batch workloads with active/active sites using proxy replication engines | |
WO2014084922A1 (en) | High availability for cloud servers | |
CN103761166A (en) | Hot standby disaster tolerance system for network service under virtualized environment and method thereof | |
US20120151095A1 (en) | Enforcing logical unit (lu) persistent reservations upon a shared virtual storage device | |
CN107368358A (en) | Realize the apparatus and method that virtual machine where client migrates between different main frames | |
US10860375B1 (en) | Singleton coordination in an actor-based system | |
CN105740052A (en) | Method, device and system for online migration of virtual machines of non-shared memories | |
CN109828867A (en) | A kind of cloud host disaster recovery method and system across data center | |
CN106855834B (en) | Data backup method, device and system | |
US20230136106A1 (en) | Space efficient distributed storage systems | |
US11947425B2 (en) | Storage volume snapshot object management | |
CN105740049A (en) | Control method and apparatus | |
CN107402839B (en) | Method and system for backing up data | |
CN106612314A (en) | System for realizing software-defined storage based on virtual machine | |
JP2011209811A (en) | Virtual machine system and virtual machine arrangement method | |
US9529679B2 (en) | Volume snapshot in a shared environment | |
CN112398668B (en) | IaaS cluster-based cloud platform and node switching method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |