CN109564533A - A kind of device and method for supporting to execute boot process in instant recovery process - Google Patents

A kind of device and method for supporting to execute boot process in instant recovery process Download PDF

Info

Publication number
CN109564533A
CN109564533A CN201680087849.4A CN201680087849A CN109564533A CN 109564533 A CN109564533 A CN 109564533A CN 201680087849 A CN201680087849 A CN 201680087849A CN 109564533 A CN109564533 A CN 109564533A
Authority
CN
China
Prior art keywords
equipment
data
backup
boot process
data block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201680087849.4A
Other languages
Chinese (zh)
Other versions
CN109564533B (en
Inventor
阿萨夫·耶格尔
迈克尔·斯特恩伯格
鲍里斯·利伯曼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN109564533A publication Critical patent/CN109564533A/en
Application granted granted Critical
Publication of CN109564533B publication Critical patent/CN109564533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Abstract

The device and method for the execution that the present invention relates to a kind of for supporting the boot process executed in instant recovery process, wherein the instant recovery process is for recovering immediately the data backed up in backup process.The backup process execution unit of the equipment is by executing test boot process using the data backed up in the backup process, and the set of data blocks of request is generated in the test boot process, wherein each entry of requested set of data blocks includes in the test boot process from the information of the data block of storage device requests.The instant recovery process execution unit of the equipment prefetches data block from the storage equipment in the instant recovery process by each entry for requested set of data blocks and executes the boot process, wherein the entry of requested set of data blocks includes the information of the data block.

Description

A kind of device and method for supporting to execute boot process in instant recovery process
Technical field
The device and method for the execution that the present invention relates to a kind of for supporting the boot process executed in instant recovery process. Moreover, it relates to a kind of computer program product being accordingly arranged and the computer-readable medium being accordingly arranged.
Background technique
In general, data restore operating system failure, software and/or hardware entity (such as storage equipment) failure, (usually in single driving, single partition and single operating system (operating when accidental damage or data deletion System, abbreviation OS) system on) execute, in this case, task be restore all data to realize computing system or The further operating of equipment.
In recent years, instant recovery becomes to become more and more popular.Instant recovery allows virtual machine (virtual machine, abbreviation VM backup snapshots) are executed after the computing system or device fails or disaster of VM in VM or thereon by using secondary or standby Part storage equipment is temporarily run.Instant recovery is referred to as restoring on the spot.In instant recovering process, the workload of user It is redirected to backup or secondary storage device, while restoring used main storage device when VM is executed.Then pass through utilization The workload of the data and redirection that are stored in backup or secondary storage device is held on alternate device (for example, server) Row is corresponding or replicates the backup VM of VM.Once instant recovery is completed, workload is redirected to initial VM.Due to instant recovery It is to be carried out from the background or offline, therefore user is not aware that and is abnormal.Therefore, instant recovery allows user to continue to use it The calculating equipment or system of upper operation VM, damages even if having occurred and that and instant recovery is needed to handle.It runs or executes The expection that VM ensures to run or execute thereon the calculating equipment or system of VM is used and is operated.
When executing instant recovery, do not need the backup copies that user is directly connected to VM because since user It has worked on backup VM, backup is just no longer on reset condition.On the contrary, creating the snapshot or figure of VM in instant recovering process Picture, so that backup keeps reset condition, and all write operations of user are all redirected to the snapshot, therefore user can take off It works from backup VM.For storage and/or VM is run or executed thereon necessary to VM hence for operation for executing All Files necessary to computing system or equipment and data generate snapshot or image, that is to say, that all storages and/or File necessary to VM described for execution and data are stored in the snapshot in secondary or backup storage device as entire VM Or image.After creating snapshot, in backstage or offline beginning instant recovery process.The user for calculating equipment or system anticipates completely Knowledge is being carried out less than instant recovery, once instant recovery is completed, the workload of user is redirected to initial VM.
By instant recovery, the VM can be restored by directly running the VM from secondary or backup storage device To the working environment of user.Due to not needing to extract VM from backup or secondary storage device and be copied by running VM Calculating equipment or the main storage device that uses of system in, therefore a few minutes can be from any recovery point (increment or full dose) weight Open the VM.The backup image or snapshot (i.e. backup VM) of the VM is maintained at read-only status, to avoid surprisingly being modified.
When executing instant recovery process, backup VM is in backstage or offline guidance.Execute boot process, by VM be placed in The mode of operation of backup VM or mode of operation corresponding with backup image/snapshot.For this purpose, executing computing system or equipment Initialization, if necessary, executes the initialization of the application run in the system or equipment.Particularly, boot process packet It includes identification hardware and or software component, verify the availability and function of hardware and or software component, and control the component, To make it prepare the operation for the VM after boot process in computing system or equipment.Boot process further includes for example holding Row master boot record (master boot record, abbreviation MBR), load operating system (operating system, abbreviation OS) kernel, load driver device and/or start execution service/background program and/or application.After executing boot process, restore VM and each computing system or equipment prepare for their intended use.Run VM's to VM and thereon from boot process is started The time of each computing system or equipment is critically important.Particularly, this time should shorten as far as possible because always want to VM and Each computing system or equipment prepare for their intended use after start-up as early as possible.
In boot process, input/output (input/output, abbreviation I/O) is sent to backup or secondary storage device Request, to obtain data block required for the further correct execution of VM, i.e., being placed in computing system or equipment can be realized VM The expected state executed to realize the data block of the proper operation of computing system or equipment.Backup or secondary storage device Corresponding read all is with non-unified mode and/or progress on demand.There are when part between the independent transmission of corresponding I/O request Between.In addition, the data block of I/O request request random distribution in backup or secondary storage device, and detect requested number The time is needed according to block.Therefore, it receives request data necessary to for executing boot process and needs the time.
The execution of boot process slows down and influences instant recovery process.But it is desirable to can be realized quickly and effectively immediately extensive Multiple process, so as to realize recovery VM further correct operation, and the calculating of VM that operation thereon/execution restores is set Standby or system operation impregnable can continue to run.
It especially supports to execute in instant recovery process therefore, it is necessary to support fast and effeciently to execute instant recovery process Other methods of boot process.In particular, it is desirable that there is kind of method that can quickly provide for executing drawing in instant recovery process Lead data block necessary to process, thus run/execute by VM and thereon after instant recovery VM each computing system or Equipment is placed in the state prepared for their intended use.
Summary of the invention
The purpose of the present invention is to provide the execution that can improve instant recovery process, can especially improve described instant The method and apparatus of the execution of the boot process executed in recovering process.
The present invention is provided to support the execution of the boot process executed in instant recovery process and at least overcome it is above-mentioned The method and apparatus of disadvantage.Particularly, the method is provided and equipment to provide number necessary to executing the boot process It can accelerate according to block.In this way, the execution of the boot process and then the instant recovery process is accelerated.Cause This, realizes the VM that will be recovered immediately and each computing system or equipment is quickly placed in the VM and executes the VM thereon Each computing system or equipment prepare be used for desired use state.
Particularly, as described by the claims and herein in conjunction with one aspect of the present invention described in attached drawing be based on back up into The data backed up in journey execute backup process, to generate the set of data blocks requested in test boot process, wherein the test is drawn The process of leading in addition is executed in the backup process.On the other hand, by utilizing the data backed up in the backup process In the instant recovery process for restoring VM, the set of data blocks is used to execute the boot process of the instant recovery process.Particularly, The set of data blocks is used to prefetch the data block of the set.It may be implemented fast and effeciently to execute instant recovery process in this way Boot process.In addition, present invention also assures that each meter of VM being run/executing by VM and thereon after the execution of instant recovering process It calculates system or equipment and is quickly and easily placed in the state prepared for their intended use.
Target of the invention is realized by the scheme provided in accompanying independent claim.The advantageous implementation of the present invention It is further defined in respective dependent claims.
According in a first aspect, providing a kind of setting for execution for supporting the boot process executed in instant recovery process Standby, wherein the instant recovery process is used to recover immediately the data backed up in backup process, and the equipment includes at least One with lower unit: backup process execution unit, wherein the backup process execution unit be used for by using it is described back up into The data backed up in journey execute test boot process, and the set of data blocks of request is generated in the test boot process, In each entry of requested set of data blocks include in the test boot process from the data blocks of storage device requests Information;Instant recovery process execution unit, wherein the instant recovery process execution unit is used for by being directed to requested number According to each entry of block collection prefetched from the storage equipment data block executed in the instant recovery process described in be directed into Journey, the entry of requested set of data blocks include the information of the data block.
The backup process includes the snapshot mentioned above for generating VM to storing equipment.The storage equipment is above-mentioned standby Part or secondary storage device etc..It hereinafter can be commonly using term " storage equipment ", although the storage equipment includes above-mentioned The backup or secondary storage device that background technology part is mentioned.Therefore backup VM is generated in the backup process, wherein described The data of backup VM are stored in storage equipment, and the backup VM is image/snapshot of the VM.For operation/execution thereon It is being stored in each calculating equipment or system of VM and/or for execute in each calculating equipment or system necessary to VM hence for All Files necessary to each computing system or equipment and data are operated, generate snapshot/image, that is to say, that all storages File and data and/or for execute All Files necessary to the VM and data to be stored in storage equipment (such as secondary Grade or backup storage device) in snapshot as entire VM.In general, about instant recovery process, the data and The backup of the VM executes as usual.
The VM, which is represented, is run by each computing system or equipment or is executed and ensure the correct of each computing system or equipment The software of operation.
Term " prefetching " has general sense, refers to that will store equipment or the content of memory loads or store to higher In the storage equipment or memory of level, wherein the storage equipment or memory of the more high-level allow access speed faster Degree.In other words, data block is loaded or is stored into the other memories that can faster access data block.Implemented according to one Example, other memories are Caches etc..According to the present invention, due to it is described prefetch be in instant recovering process especially It is the data block that the data block that executes, therefore prefetch in the boot process of instant recovering process is all backup.The i.e. described data Block is collected or is retrieved from the data of backup.
By utilize the equipment, can accelerate the boot process executed in the instant recovery process and it is described immediately The execution of recovering process itself.In addition, execute thereon VM to be restored computing system or equipment can more fast and effeciently into Enter normal operating condition.
According in a first aspect, in the first possible implementation, from the storage in the test boot process The information for the data block requested in equipment includes the address of data block and the size of the data block in the storage equipment. Set of data blocks requested in this way keeps smaller.This handles requested set of data blocks faster.Therefore, requested data The processing of block collection does not influence the performance of the boot process and/or corresponding instant recovery process.
It is in the second possible implementation, described according to the first of first aspect or first aspect implementation Instant recovery process execution unit is used for by utilizing each entry information in requested set of data blocks from the storage equipment The middle retrieval data block, and the data block stored to other storage equipment execute it is described prefetch, wherein described in its It, which stores equipment, allows faster to access the data block than the storage equipment.Therefore, the boot process can be realized to holding The quick access of all or at least nearly all data block needed for the row boot process.
According to any of the above-described kind of implementation of first aspect or first aspect, in the third possible implementation, The backup process execution unit executes the test boot process for offline and/or backstage.Therefore it can continue the VM And the computing system of the VM or the routine operation of equipment are executed thereon.The test boot process does not influence the conventional behaviour Make.
According to any of the above-described kind of implementation of first aspect or first aspect, in the fourth possible implementation, The backup process execution unit is used to monitor in the test boot process for the request data from the storage equipment The data block request of block.The monitoring can be realized needed for the execution to the boot process executed in the instant recovery process The detection of all or at least nearly all data block.Therefore, accurate setting or request are generated by the backup process execution unit Data block, so that it is guaranteed that providing the precision of actually data block needed for boot process.
According to any of the above-described kind of implementation of first aspect or first aspect, in a fifth possible implementation, The backup process execution unit is deposited in the test boot process from described for acquiring in the test boot process Store up the information of the data block of device request.It may insure the letter of all data blocks needed for collecting execution boot process in this way Breath.Therefore, the precision of data block needed for the boot process for providing and executing in actually instant recovery process is provided.
According to any of the above-described kind of implementation of first aspect or first aspect, in a sixth possible implementation, The backup process execution unit, which is used to indicate, is stored in requested set of data blocks in the storage equipment as the backup A part of the data backed up in process.Therefore, it is carried out unified and consistent backup process, this can be realized in execution pair Quick-searching requested set of data blocks when the instant recovery process answered.It does not need further to identify the number for refining each request According to the storage address of block collection, this adds the execution of each instant recovery process especially boot process of instant recovery process Fastly.
According to any of the above-described kind of implementation of first aspect or first aspect, in the 7th kind of possible implementation, The instant recovery process execution unit is used to retrieve requested data block from the storage equipment in the boot process Collection.
According to second aspect, a kind of side of execution for supporting the boot process executed in instant recovery process is provided Method, wherein the instant recovery process is used to recover immediately the data backed up in backup process, and the method includes at least One following steps: by executing test boot process using the data backed up in the backup process, and in the test The set of data blocks of request is generated in boot process, wherein each entry of requested set of data blocks is included in the test guidance From the information of the data block of storage device requests in process;It is deposited by each entry for requested set of data blocks from described Data block, which is prefetched, in storage equipment executes the boot process in the instant recovery process, wherein requested set of data blocks Entry includes the information of the data block.In general, the step of the method corresponds to by for supporting to hold in recovering process The step of equipment of the execution of capable boot process executes or activity, it is as explained above and as described in detail.According to institute Method is stated, effect described herein may be implemented.
According to the third aspect, the present invention relates to a kind of computer program product including computer readable program code, Described in computer readable program code be used to make to calculate equipment and execute method described above and being explained in detail below The step of.
According to fourth aspect, the present invention relates to a kind of in the computer-readable note for wherein storing computer program product Recording medium.
Detailed description of the invention
In conjunction with appended attached drawing, below the description of specific embodiment will illustrate various aspects and its realization side of aforementioned present invention Formula, in which:
Fig. 1 a and Fig. 1 b show provided in an embodiment of the present invention for supporting the boot process executed in instant recovery process Execution equipment exemplary setting.
The execution that Fig. 2 shows provided in an embodiment of the present invention for supporting the boot process executed in instant recovery process The step of method.
Fig. 3 shows the setting of the set of data blocks of request provided in an embodiment of the present invention.
Fig. 4 shows the exemplary setting of the entry of the set of data blocks of request provided in an embodiment of the present invention.
Fig. 5 shows the flow chart that test boot process provided in an embodiment of the present invention executes the sub-step of step.
Fig. 6 shows in the step of being used for the execution boot process in instant recovering process provided in an embodiment of the present invention and executes Sub-step flow chart.
Specific embodiment
Usually require it is to be noted that all settings described in this application, equipment, module, component, model, element, unit, Entity and method etc. can be realized by software or hardware element or any combination thereof.By various entities described in this application All steps and being described as executed are intended to indicate that different entities is different for executing by the function that various entities execute Step and function.Although the specific function or step executed by general entity does not exist in the description of following specific embodiments It executes and reflects in the description of the specific element of the entity of particular step or function, but technical staff is noted that these sides Method and function can be realized in respective hardware or software element or any combination thereof.In addition, method of the invention and its each A step embodies in the function of the device element of each description.In addition, unless there are the combination clearly excluded, it is described herein The feature of any embodiment and any embodiment can be combined with each other.
Fig. 1 a and Fig. 1 b show provided in an embodiment of the present invention for supporting the boot process executed in instant recovery process Execution equipment 110,120 and 130 exemplary setting.Embodiment shown according to fig. 1a, the equipment 110 include standby Part process execution unit 111 and instant recovery process execution unit 112.As described above, the backup process execution unit 111 is used Draw in by testing boot process using data (except the data backup) execution backed up in backup process, and in the test The set of data blocks for generating request in process is led, is directed into wherein each entry of requested set of data blocks is included in the test The information of the data block of Cheng Zhongcong storage device requests.Therefore, the test boot process is executed for backup VM.In the survey The data block requested in examination boot process is all the data block of backup.According to one embodiment, storage equipment herein is storage There are the storage equipment of the data backed up in the backup process, i.e., secondary or backup storage device mentioned above.Secondly institute State instant recovery process execution unit 112 for by each entry for requested set of data blocks from the storage equipment In prefetch data block and execute boot process in instant recovering process, wherein the entry of requested set of data blocks includes the number According to the information of block.Since test of the requested set of data blocks in backup process especially in backup process is directed into It is generated in journey, therefore executing the data block prefetched all is the data block of backup.
Therefore, the backup process execution unit 111 and described 112 two components of instant recovery process execution unit are subsequent All become active.Firstly, executing the backup process with test boot process by the backup process execution unit 111.Then, After backup process completion and 111 activity of backup process execution unit, the instant recovery process executes list Member 112 is by utilizing the requested set of data blocks generated by the backup process execution unit 111 in each instant recovery process Middle execution boot process.
In addition, two components distinguish offline or running background.Therefore, the two components have no effect on the conventional behaviour of VM Make, wherein the data of the VM back up in backup process, that is, has generated backup VM.Therefore, the VM is executed thereon Computing system or the operation of equipment will not be influenced by the execution of the boot process of the instant recovery process.
For supporting the equipment 110,120 and 130 of the execution of the boot process executed in instant recovery process The backup process execution unit 111 and the instant recovery process execution unit 112 can be according to the present invention with different sides Formula setting.Embodiment shown according to fig. 1a, the backup process execution unit 111 and the instant recovery process execution unit 112 are included in the equipment 110 for the execution for supporting the boot process of instant recovery process.Implemented according to shown in Fig. 1 b Example, the backup process execution unit 111 and the instant recovery process execution unit 112 are all two individually for supporting A part of the equipment 120 and 130 of the execution of the boot process of instant recovery process.The backup process execution unit 111 In the first equipment 120, the instant recovery process execution unit 112 is located in the second equipment 130, wherein the first equipment 120 It is used to support the execution of the same boot process of same instant recovery process with the second equipment 130.
The execution that Fig. 2 shows provided in an embodiment of the present invention for supporting the boot process executed in instant recovery process The conventional steps of method.According to the present embodiment, in step 201, by executing test using the data backed up in backup process Boot process, and the set of data blocks of request is generated in the test boot process, wherein requested set of data blocks is every A entry includes in the test boot process from the information of the data block of storage device requests.In addition to the backup process Also execute the test boot process.According to one embodiment, the test boot process is as individual process described It is executed after backup process.According to another embodiment, the test boot process be after data backup it is described back up into It is executed in journey.The backup process is executed to be ready to carry out instant recovery process.That is, in the backup process, it is raw At VM snapshot or image and to be stored in above-mentioned storage equipment medium.Particularly, about instant recovery process, the VM's is fast According to or the generation of image execute as usual.The storage equipment is backup or secondary storage device etc..For thereon It is being stored in operation/execution VM calculating equipment or system and/or for execute calculate in equipment or system necessary to VM from And All Files and data necessary to computing system each for operation or equipment, snapshot/image of VM is generated, that is, It says, the file and data of all storages and/or is stored in storage for executing All Files necessary to the VM and data As the snapshot or image of entire VM in equipment, that is, it is used as backup VM (as described above).
Since the test boot process is a part of the backup process, the test boot process is also Offline or backstage executes.Therefore, the execution of the test boot process has no effect on the routine operation of VM, wherein the VM Data back up in backup process, that is, have generated backup VM.Therefore, the computing system of the VM is executed thereon or is set Standby operation will not be influenced by the execution of the boot process of the instant recovery process.
According to one embodiment, by the equipment 110 for supporting the execution of the boot process executed in instant recovery process Step 201 is executed with 120.For example, step 201 is executed by the backup process execution unit 111.Therefore, when the equipment 110 and 120 or the backup process execution unit 111 when executing (201) described test boot process, 110 He of equipment 120 or the backup process execution unit 111 is corresponding offline or backstage executes (201) described test boot process.
Step 202 is executed in instant recovery process that the data backed up in above-mentioned backup process are restored.? In step 202, boot process is executed in instant recovering process, wherein the boot process is by for requested data Each entry of block collection prefetches data block execution from the storage equipment, and the entry of requested set of data blocks includes the number According to the information of block.As described above, the storage equipment is backup or secondary storage device etc..The data block prefetched is all backup Data block.According to one embodiment, by 110 He of equipment for supporting the execution of the boot process executed in instant recovery process 130 execute step 202.For example, step 202 is executed by the instant recovery process execution unit 112.
Step 201 and step 202 are all independent progress.But step 201 is executed before step 202, step 202 It is to be executed after step 201 execution terminates, because step 202 will utilize the requested set of data blocks generated in step 201.
Fig. 3 shows the setting of requested set of data blocks 311 provided in an embodiment of the present invention.According to the present embodiment, asked The set of data blocks 311 asked is stored in storage equipment 301.The storage equipment 301 is that above-mentioned backup or secondary storage are set It is standby etc..The storage equipment 301 can be a component or can represent multiple storage equipment 301.Therefore, requested number It can store in a relevant storage equipment 301 or be stored in multiple (i.e. at least two) different storage according to block collection 311 In unit 301.
In step 201 (by the equipment 110,120 and 130 especially by the backup process execution unit 111) Generate requested set of data blocks 311 include multiple entries (i.e. at least one entry) 311-1,311-2 ..., 311-n. N entry is shown, wherein n >=1 in Fig. 3.Each entry 311-1,311-2 ..., 311-n indicate a generation it is requested The data block request executed in the test boot process of set of data blocks 311, such as I/O request.Particularly, each entry 311-1, 311-2 ..., number for being requested from storage equipment (such as storage equipment 301) in the test boot process of 311-n instruction According to block.Monitor the execution that the test boot process is especially the data block request.When each requested data block, generation is asked The corresponding new entry 311-1,311-2 for the set of data blocks 311 asked ..., 311-n, and add it to it is described set 311.
According to the present embodiment, requested set of data blocks 311 stores together with the data backed up in the backup process.Cause This, the storage equipment 301 also includes the data for being also stored with backup.The data of backup include having executed the VM of backup i.e. The snapshot or image of backup VM described herein.
Fig. 4 shows the exemplary setting of the entry 311-i of requested set of data blocks 311, wherein 1≤i≤n.According to this Embodiment, the entry 311-i include the letter for the data block requested from the storage equipment in the test boot process Breath.According to the present embodiment, the information includes the address 401 of requested data block and the data block in the storage equipment Size 402.So there is no need to entire data block is stored in requested set of data blocks 311 to be especially each entry 311-i In, to save memory space.Furthermore, it is possible to requested set of data blocks 311 quickly be accessed, when not needing waste processing Between, because of the execution without influencing the test boot process.
What needs to be explained here is that being set in current boot process from the storage according at least one other embodiment The other information of the data block of standby request can be also stored in the entry 311-i of requested set of data blocks 311.The implementation of Fig. 4 Example is the example of the entry 311-i of requested set of data blocks 311.In general, setting entry 311-i is to realize to described Store the identification of each data block in equipment.
Fig. 5 shows the flow chart that the test boot process provided in an embodiment of the present invention executes the sub-step of step 201. The sub-step is executed by the equipment 110 and 120 for supporting the execution of the boot process executed in instant recovery process.Especially Ground, the sub-step are executed by the backup process execution unit 111 Deng.In addition, the sub-step is guided in the test It is executed in process.The test boot process is a part of boot process again.
In step 501, the data block request (such as I/O request) executed in the test boot process is monitored.In this way Data block needed for being assured that the boot process executed in the instant recovery process for restoring guidance data.By monitoring and examining It surveys and monitoring is executed to the access of the storage equipment of storage corresponding data block.Since the test boot process is the backup process A part, therefore the data block request monitored includes request to the data block backed up in the backup process.The storage Equipment is the storage equipment 301 etc. in above-mentioned Fig. 3.
Corresponding data block includes for example: data needed for the hardware and or software component of identification computing system or equipment, Wherein by the VM of the computing system or equipment back up and it is subsequent can be by instant recovery process resumption;Verify the hardware And/or data needed for the availability and/or function of component software;Controlling the hardware and or software component is guiding it Data needed for preparing operation after process;Number needed for the initialization and/or operation of VM and/or corresponding computing system or equipment According to;Data needed for the initialization and/or operation of the application executed in VM and/or corresponding computing system or equipment;Execute meeting Data needed for the MBR being guided in corresponding instant recovery process;Data needed for loading O/S kernel;Load driver program Required data;Data needed for the execution of starting service/background program and/or application program;And/or in instant recovery process Other any data needed for the boot process of execution.
In step 502, it acquires in the test boot process from the information of the data block of the storage device requests 401 and 402.For this purpose, the request (for example, I/O is requested) of 501 data blocks is once monitored or detects, with regard to detection data block message 401 and 402.Such as above for the description of Fig. 3 and Fig. 4 a, information 401 and 402 includes the storage equipment (for example, storage equipment 301) address 401 of the data block in and the size 402 of the data block.
In step 503, by the storage of requested set of data blocks 311 in the storage device (for example, storage equipment 301).Particularly, the item of requested set of data blocks 311 is generated for the data block information 401 and 402 acquired in step 502 Mesh 311-1,311-2,311-i and 311-n.Then corresponding data block information 401 and 402 is stored in the entry of generation In 311-1,311-2,311-i and 311-n.
Above-mentioned steps 502 and 503 are executed for each data block for monitoring or detecting in step 501.In the test At the end of boot process executes step 201 execution, i.e., at the end of including the backup process of test boot process, requested number It include the information for all data blocks for monitoring in step 501 and being requested in the test boot process according to block collection 311.
Fig. 6 is shown in the step 202 provided in an embodiment of the present invention for executing boot process in instant recovering process The flow chart of the sub-step of execution.The sub-step is by the execution for supporting the boot process of the instant recovery process Equipment 110 and 130 execute.Particularly, the sub-step is executed by the recovering process execution unit 112.In addition, the son Step is executed in the boot process.The boot process is a part of the instant recovery process again.
In step 601, requested set of data blocks 311 is retrieved from storage equipment.The storage equipment be it is secondary or Person's backup storage device.For example, the storage equipment is storage equipment 301 shown in Fig. 3.If the test in backup process is drawn It leads and has generated (201) requested set of data blocks 311 in process as described above, then can be examined from the storage equipment 301 The requested set of data blocks 311 of rope.If do not given birth in the test boot process that backup process is especially the backup process At (201) requested set of data blocks 311, then pre-fetch step 202 can not be executed, and pre-fetch step 202 terminates.But such as Fruit generates (201) requested set of data blocks 311 in test boot process, then before retrieving in the storage equipment 301 The requested set of data blocks 311 generated.
In step 601, according to one embodiment, from reservation entry 311-1,311-2 of the set of data blocks 311, 311-i and 311-n is for example to requested set of data blocks since the first entry 311-1 of requested set of data blocks 311 311 are accessed.
In step 602, accesses entry 311-1,311-2,311-i and 311-n.Particularly, from the entry 311- 1, the data being stored in described entry 311-1,311-2,311-i and 311-n are obtained in 311-2,311-i and 311-n Block message 401 and 402.
In step 603, by utilizing the information 401 and 402 from the storage equipment (for example, storage equipment 301) Retrieve corresponding data block.For example, if the information 401 and 402 includes 401 He of address of data block in the storage equipment The length 402 of the data block, then by accessing the storage equipment at the address 401 and reading since the address 401 And there is the data block of length 402 to retrieve corresponding data block.The data block retrieved is to execute each test boot process The backup process in the data block that has backed up.Therefore step is executed for the data block having backed up in the backup process Rapid 603.
In step 604, by the data block retrieved storage into other storage equipment (for example, Cache), this The storage equipment than having retrieved data block in step 603 is allowed faster to access the data block.Therefore, in step 604 It is middle to execute prefetching for the data block.
In step 605, it verifies whether to have obtained (602) and accesses all of (603) requested set of data blocks 311 Entry 311-1,311-2,311-i and 311-n, and whether by all respective data blocks storages (604) in other storages In equipment (for example, Cache).If requested set of data blocks 311 include do not consider entry 311-1,311-2, 311-i and 311-n, i.e., untreated entry 311-1,311-2,311-i and 311-n in step 602 before to 604, The new round that then execution of the boot process 202 of the instant recovery process continues step 602 executes, to consider institute Other entry 311-1,311-2,311-i and 311-n of the set of data blocks 311 of request.
If having been contemplated that all entry 311-1,311-2,311-i and 311-n of requested set of data blocks 311, The execution of the boot process 202 of the instant recovery process is then terminated or terminated in step 606.
What needs to be explained here is that if other storage equipment (for example, Cache) of storage (604) data block are deposited Full, then the execution of step 602 to 605 can interrupt a period of time.In one or more of storage (604) in other storage equipment After the use of a data block is completed in the boot process, step 602 is continued to execute to 605.Here stored (604) it is considered being not required in other one or more of data blocks in equipment and completing to use in boot process that store Further to execute the boot process.Therefore one or more of data blocks are deleted from other storage equipment, and after The continuous sub-step 602 to 605 that executes is until all entries have contemplated that.Other storage equipment can determined (for example, cache Device) full any time executes above-mentioned interruption.With re-executing each time for sub-step 602 to 605, using by into one Step execute sub-step 602 to 605 identify new data block replace before stored (604) in other storage equipment and The data block of processing has been completed in the boot process.
The present invention can be in several technical fields using the VM that can execute backup and corresponding instant recovery process It realizes.The VM can be executed in different computing systems or equipment, such as mobile computing system or equipment are (for example, mobile Phone, smart phone, mobile unit, laptop etc.) or fixed computing system or equipment (for example, facility, sensor, Actuator etc.).
In addition, the present invention can realize under various circumstances.In addition to the common computer with physical equipment or device is auxiliary It helps except environment, the present invention can also realize in virtual or cloud environment.Therefore, according to the present invention it is possible to back up and i.e. Shi Huifu virtual system and the system operated by cloud.
For supporting that the equipment 110,120 and 130 of the execution of the boot process executed in recovering process can be with difference Mode be arranged.According to one embodiment, the equipment 110,120 and 130 is to execute the computing system or equipment of VM thereon A part, and according to another embodiment, the equipment 110,120 and 130 is in the outer of the computing system or equipment Portion's equipment.According to one embodiment, the equipment 110,120 and 130 be include the device of shell, and according to another implementation Example, the equipment 110,120 and 130 are to include the system of multiple (at least two) interconnection entities, unit and/or equipment or set It sets.According to one embodiment, the equipment 110,120 and 130 is storage equipment, wherein according to another embodiment, it is described Equipment 110,120 and 130 is the storage equipment of the set of data blocks for the data and request that backup is stored in backup process.According to One embodiment, the equipment 110,120 and 130 are the storages with virtual machine (virtual machine, abbreviation VM) disk Equipment.According to another embodiment, the equipment 110,120 and 130 is virtual machine monitor, that is, creates and run virtual machine Hardware and/or software equipment or server.In general, the equipment 110,120 and 130 can be any calculating and set Standby, wherein term " equipment " includes having shell as described above, system or the device of setting.
The other storage equipment (for example, Cache) for prefetching data block be usually allow than storing data block and Therefrom the storage equipment of requested data block faster accesses the storage equipment of storing data in boot process.
In view of above description, it should be clear that the present invention can have different settings.The present invention allows modular implementation.Therefore Above-described embodiment can be combined with each other.
The device and method for the execution that the present invention relates to a kind of for supporting the boot process executed in instant recovery process, Wherein the instant recovery process is for recovering immediately the data backed up in backup process.The backup process of the equipment executes Unit tests boot process by executing using the data backed up in the backup process, and in the test boot process The set of data blocks for generating request, wherein each entry of requested set of data blocks includes in the test boot process from storage The information of the data block of device request.The instant recovery process execution unit of the equipment is by being directed to requested set of data blocks Each entry prefetch data block from the storage equipment and execute the boot process in the instant recovery process, wherein The entry of requested set of data blocks includes the information of the data block.
Having combined various embodiments herein, invention has been described.But those skilled in the art are by practicing this hair It is bright, research attached drawing, the present invention and the attached claims, it is to be understood that and obtain other variants of open embodiment.It is weighing In sharp claim, word " comprising " is not excluded for other elements or step, and indefinite article " one " is not excluded for multiple.Only arranged with certain It applies and is documented in the simple fact of this in mutually different dependent claims and is not meant to the combination of these measures not It can be used effectively.

Claims (11)

1. a kind of equipment of the execution for supporting the boot process executed in instant recovery process, which is characterized in that described to be When recovering process for recovering immediately the data backed up in backup process, wherein the equipment includes at least one with lower unit:
Backup process execution unit, wherein the backup process execution unit is used for by using backing up in the backup process Data execute test boot process, and the set of data blocks of request is generated in the test boot process, wherein being requested Each entry of set of data blocks include information in the test boot process from the data blocks of storage device requests;
Instant recovery process execution unit, wherein the instant recovery process execution unit is used for by being directed to requested number According to each entry of block collection prefetched from the storage equipment data block executed in the instant recovery process described in be directed into Journey, the entry of requested set of data blocks include the information of the data block.
2. equipment according to claim 1, which is characterized in that in the test boot process from the storage equipment The information of the data block of request includes the address of data block and the size of the data block in the storage equipment.
3. equipment according to claim 1 or 2, which is characterized in that the instant recovery process execution unit is for passing through The data block is retrieved from the storage equipment using each entry information in requested set of data blocks, and by the number It stores according to block to other storage equipment and is prefetched described in executing, wherein other storage equipment allow than the storage equipment more The data block is accessed fastly.
4. according to equipment described in any of the above embodiments, which is characterized in that the backup process execution unit for it is offline and/or after Platform executes the test boot process.
5. according to equipment described in any of the above embodiments, which is characterized in that the backup process execution unit is used in the test The data block request for the requested data block from the storage equipment is monitored in boot process.
6. according to equipment described in any of the above embodiments, which is characterized in that the backup process execution unit is used in the test It is acquired in boot process in the test boot process from the information of the data block of the storage device requests.
7. according to equipment described in any of the above embodiments, which is characterized in that the backup process execution unit, which is used to indicate, to be asked The set of data blocks asked is stored in a part in the storage equipment as the data backed up in the backup process.
8. according to equipment described in any of the above embodiments, which is characterized in that the instant recovery process execution unit is used for described Requested set of data blocks is retrieved from the storage equipment in boot process.
9. a kind of method of the execution for supporting the boot process executed in instant recovery process, which is characterized in that described to be When recovering process for recovering immediately the data backed up in backup process, wherein the method includes at least one following steps:
By executing test boot process using the data backed up in the backup process, and in the test boot process It is middle generate request set of data blocks, wherein each entry of requested set of data blocks be included in the test boot process from The information of the data block of storage device requests;
Data block is prefetched from the storage equipment described immediately extensive by each entry for requested set of data blocks The boot process is executed in multiple process, wherein the entry of requested set of data blocks includes the information of the data block.
10. a kind of computer program product, which is characterized in that including for making to calculate side described in equipment perform claim requirement 9 The computer readable program code of the step of method.
11. a kind of computer readable recording medium, which is characterized in that for storing computer program product wherein, wherein institute State computer program product include the steps that for make calculate equipment perform claim require 9 described in method computer-readable journey Sequence code.
CN201680087849.4A 2016-08-03 2016-08-03 Device and method for supporting execution of guide process in instant recovery process Active CN109564533B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/EP2016/068536 WO2018024327A1 (en) 2016-08-03 2016-08-03 Device and method arranged to support execution of a booting process executed during an instant restore process

Publications (2)

Publication Number Publication Date
CN109564533A true CN109564533A (en) 2019-04-02
CN109564533B CN109564533B (en) 2020-12-04

Family

ID=56567609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680087849.4A Active CN109564533B (en) 2016-08-03 2016-08-03 Device and method for supporting execution of guide process in instant recovery process

Country Status (2)

Country Link
CN (1) CN109564533B (en)
WO (1) WO2018024327A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1183841A (en) * 1995-02-13 1998-06-03 英特特拉斯特技术公司 System and method for secure transaction management and electronic rights protection

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6073232A (en) * 1997-02-25 2000-06-06 International Business Machines Corporation Method for minimizing a computer's initial program load time after a system reset or a power-on using non-volatile storage
US7958398B2 (en) * 2008-07-16 2011-06-07 International Business Machines Corporation Reference state information generation
US8230208B2 (en) * 2009-04-20 2012-07-24 Intel Corporation Booting an operating system of a system using a read ahead technique
US9804965B2 (en) * 2014-12-03 2017-10-31 Electronics And Telecommunications Research Institute Virtual machine host server apparatus and method for operating the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1183841A (en) * 1995-02-13 1998-06-03 英特特拉斯特技术公司 System and method for secure transaction management and electronic rights protection

Also Published As

Publication number Publication date
WO2018024327A1 (en) 2018-02-08
CN109564533B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
US7774636B2 (en) Method and system for kernel panic recovery
US8448013B2 (en) Failure-specific data collection and recovery for enterprise storage controllers
US20150039837A1 (en) System and method for tiered caching and storage allocation
US20100070678A1 (en) Saving and Restoring State Information for Virtualized Computer Systems
US7650259B2 (en) Method for tuning chipset parameters to achieve optimal performance under varying workload types
EP2546748A1 (en) Information processing device, information processing method, and program
KR102025078B1 (en) Diagnosing code using single step execution
US11740910B2 (en) Virtual machine boot data prediction
CN107003897B (en) Monitoring utilization of transaction processing resources
US8799716B2 (en) Heap dump occurrence detection
CN116627811A (en) Method, computer system and medium for monitoring memory location where breakpoint occurs
JP2015114750A (en) Examination program, information processing device, and information processing method
US10969970B2 (en) Storage optimization of database in volatile and non-volatile storing unit
US8352716B1 (en) Boot caching for boot acceleration within data storage systems
US10599530B2 (en) Method and apparatus for recovering in-memory data processing system
US8255642B2 (en) Automatic detection of stress condition
CN109564533A (en) A kind of device and method for supporting to execute boot process in instant recovery process
JP2011165093A (en) Memory access examination device, memory access examination method and program
CN109086085A (en) A kind of os starting management method and device
US7934067B2 (en) Data update history storage apparatus and data update history storage method
JP2009129025A (en) Stored information arrangement system, stored information arrangement method, and stored information arrangement program
US8614799B2 (en) Memory paging
GB2579246A (en) Apparatus and data processing method for transactional memory
US11709683B2 (en) State semantics kexec based firmware update
CN109101192B (en) Data storage method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant