System and method for management of large-scale data backup
By using remote agents and asset mapping in distributed systems to generate backup priorities based on life cycle policies, the problem of important data loss and large computing resource usage is solved, and the reliability and storage efficiency of the system are improved.
Patent Information
- Application Number
- CN202010320891.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-26
- Filing Date
- 2020-04-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-22
AI Technical Summary
It is difficult to effectively prioritize and manage backups of different entities in a distributed system with existing technology, which increases the possibility of important data loss and takes up a large amount of computing resources, affecting system reliability.
By introducing remote agents and asset mapping into distributed systems, backup priorities based on life cycle policies are generated, and virtual machine asset mapping and asset catalogs are used to optimize backup generation and storage to ensure high availability of important data and reasonable allocation of system resources.
It improves the reliability and storage efficiency of data in distributed systems, reduces the risk of losing important data, reduces the computing resource occupation of management entities, and achieves backup priority and reasonable allocation of resources.
Smart Images

Figure CN111858150B_ABST
Abstract
Description
Background Art
[0001] A computing device may generate data during its operation. For example, an application hosted by a computing device may generate data used by the application to perform its functions. Such data may be stored in a permanent storage device of the computing device. Failure of the permanent storage may result in loss of data.
[0002] Different types of data may be more important than other types of data. For example, from a user's perspective, losing an unimportant image file is less detrimental than losing an electronic communication. Determining whether one piece of data is more important than another may depend on many factors. Summary of the invention
[0003] In one aspect, a remote agent for providing data protection services according to one or more embodiments of the present invention includes a persistent storage device and a backup manager. The persistent storage device stores a lifecycle policy. The backup manager updates an asset catalog using an asset mapping associated with a virtual machine; generates a lifecycle policy in a lifecycle policy using the asset catalog; and generates a backup for the virtual machine using the lifecycle policy. The lifecycle policy generates a backup for the virtual machine in priority to generating a second backup for a second virtual machine.
[0004] In one aspect, a method for providing data protection services based on a lifecycle policy according to one or more embodiments of the invention includes updating an asset catalog using an asset mapping associated with a virtual machine; generating a lifecycle policy in a lifecycle policy using the asset catalog; and generating a backup for the virtual machine using the lifecycle policy. The lifecycle policy generates a backup for the virtual machine in priority to generating a second backup for a second virtual machine.
[0005] In one aspect, a non-transitory computer readable medium according to one or more embodiments of the present invention contains computer readable program code, which, when executed by a computer processor, enables the computer processor to perform a method for providing data protection services based on a lifecycle policy. The method includes updating an asset catalog using an asset mapping associated with a virtual machine; generating a lifecycle policy in a lifecycle policy using the asset catalog; and generating a backup for the virtual machine using the lifecycle policy. The lifecycle policy generates a backup for the virtual machine in priority to generating a second backup for a second virtual machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Certain embodiments of the present invention will be described with reference to the accompanying drawings. However, the drawings only illustrate certain aspects or embodiments of the present invention by way of example and are not intended to limit the scope of the claims.
[0007] Figure 1A diagram illustrating a system in accordance with one or more embodiments of the invention.
[0008] Figure 2.1 A diagram illustrating an example production host according to one or more embodiments of the invention.
[0009] Figure 2.2 A diagram illustrating an example virtual machine in accordance with one or more embodiments of the invention.
[0010] Figure 2.3 A diagram illustrating an example virtual machine asset mapping in accordance with one or more embodiments of the invention.
[0011] Figure 3.1 A diagram illustrating an example remote according to one or more embodiments of the invention.
[0012] Figure 3.2 A diagram illustrating an example asset catalog in accordance with one or more embodiments of the invention.
[0013] Figure 4.1 A flow chart showing a method for obtaining a virtual machine asset mapping according to one or more embodiments of the present invention.
[0014] Figure 4.2 A flow chart illustrating a method of generating a backup according to one or more embodiments of the present invention.
[0015] Figure 4.3 A flow chart illustrating a method of generating a lifecycle policy according to one or more embodiments of the present invention.
[0016] Figure 5 A flow chart illustrating a method of responding to a virtual machine asset mapping request according to one or more embodiments of the present invention.
[0017] Figure 6.1-6.5 A non-limiting example of a system according to an embodiment of the present invention is shown.
[0018] Figure 7 A diagram illustrating a computing device in accordance with one or more embodiments of the invention. DETAILED DESCRIPTION
[0019] Specific embodiments will now be described with reference to the accompanying drawings. In the following description, many details are set forth as examples of the present invention. It should be understood by those skilled in the art that one or more embodiments of the present invention may be practiced without these specific details, and that many variations or modifications may be possible without departing from the scope of the present invention. Certain details known to those of ordinary skill in the art are omitted to avoid obscuring the description.
[0020] In the following description of the figures, in various embodiments of the present invention, any component described about a figure may be equivalent to one or more similarly named components described about any other figure. For the sake of brevity, the description of these components will not be repeated about each figure. Therefore, each embodiment of the components of each figure is incorporated by reference, and is assumed to be optionally present in each other figure with one or more similarly named components. In addition, according to various embodiments of the present invention, any description of the components of the figures should be interpreted as an optional embodiment, which can be implemented in addition to the embodiments described about the corresponding similarly named components in any other figure, implemented together with the embodiments, or implemented in place of the embodiments.
[0021] In general, embodiments of the present invention relate to systems, devices, and methods for providing data protection services in a distributed system. Specifically, embodiments of the present invention may provide a system for prioritizing the generation of backups for different entities. The system may prioritize the generation of backups based on the relative importance of data hosted by different entities. By doing so, the system may reduce the likelihood of losing important data.
[0022] In addition, embodiments of the present invention may provide a method for prioritizing backup generation that distributes the computational workload across multiple components of the distributed system to determine the priority order. By doing so, the computational footprint of management entities (such as remote agents that are primarily responsible for coordinating the generation and storage of backups) may be reduced.
[0023] Figure 1 An example system according to one or more embodiments of the present invention is shown. The system may include a client (140) that obtains services from a virtual machine and / or an application hosted by a production host (130). For example, the production host (130) may host a virtual machine that hosts an application. The client (140) may utilize application services provided by the application. The application may be, for example, a database application, an electronic communication application, a file storage application, and / or any other type of application that can provide services to the client (140). By utilizing these services, data related to the client (140) may be stored in the production host (130).
[0024] To increase the likelihood that data stored in the production hosts (130) will be available for future use, a backup of the production hosts (130) may be generated and stored in the backup storage device (120). The backup of one of the production hosts (130) may include data that can be used to restore all or a portion of the production host or all or a portion of an entity hosted by the production host to a previous state. Thus, if data hosted by one of the production hosts (130) is lost, access to the data may be restored by restoring all or a portion of the production host using the information stored in the backup storage device (120).
[0025] The system may also include a remote agent (110) that provides data protection services to the production host (130). The data protection services may include coordinating discovery of assets of the production host (130), developing protection policies to protect the assets, generating backups based on the data protection policies, and storing the backups in a backup storage device based on the protection policies.
[0026] In one or more embodiments of the present invention, the remote agent (110) is a resource-simplified entity. That is, the remote agent (110) can be designed to minimize its computing resource consumption. In order to provide its functionality while minimizing its computing resource consumption, the remote agent (110) can offload the computationally expensive tasks associated with asset discovery, asset characterization, and backup generation and storage to Figure 1 The remote agent (110) can ensure that Figure 1 This offloading is coordinated in a way that data protection services are provided evenly and consistently across the entire system.
[0027] Figure 1 The components of the systems described in the drawings may be operatively connected to each other and / or to other entities (not shown) via any combination of wired and / or wireless networks. Figure 1 Each component of the system described in.
[0028] The client (140) may be a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, or a cloud resource. The computing device may include one or more processors, a memory (e.g., a random access memory), and a permanent storage device (e.g., a disk drive, a solid-state drive, etc.). The permanent storage device may store computer instructions, such as computer code, which (when executed by the processor(s) of the computing device) causes the computing device to perform the functions described in the present application and / or Figure 4.1-5 The client (140) may be other types of computing devices without departing from the present invention. For additional details on the computing device, please refer to Figure 7 .
[0029] Without departing from the invention, the client (140) may be a logical device. For example, the client (140) may be a virtual machine that utilizes the computing resources of any number of physical computing devices to provide the functionality of the client (140). Without departing from the invention, the client (140) may be other types of logical devices.
[0030] In one or more embodiments of the present invention, the client (140) utilizes application services provided by the production host (130). For example, the client (140) may utilize database services, electronic communication services, file storage services, or any other type of computer-implemented services provided by the application hosted by the production host (130). By utilizing the aforementioned services, data associated with the client (140) may be stored as part of the application data of the application hosted by the production host (130).
[0031] For example, consider a scenario in which a client utilizes a file storage service provided by an application hosted by a production host (130) by uploading an image to the application hosted by the production host (130). In response to receiving the uploaded image, the application may store a copy of the image locally in the production host (130). At a future point in time, the client that uploaded the image or another entity may wish to retrieve a copy of the image from the production host (130) and thereby present data stored in the production host (130) that is relevant to the client (140), i.e., a copy of the image category of the production host (130). One or more embodiments of the present invention may increase the likelihood that data relevant to the client (140) and stored in the production host (130) may be retrieved from the production host (130) at a future point in time. Embodiments of the present invention may provide such functionality by generating a backup of the production host or a portion of the production host and storing it in a backup storage device (120).
[0032] In one or more embodiments of the invention, the production host (130) is a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, a distributed computing system, or a cloud resource. The computing device may include one or more processors, a memory (e.g., a random access memory), and a permanent storage device (e.g., a disk drive, a solid-state drive, etc.). The permanent storage device may store computer instructions, such as computer code, which (when executed by the processor(s) of the computing device) causes the computing device to perform the functions described in the present application and / or Figure 4.1-5 The production host (130) may be other types of computing devices without departing from the present invention. For additional details on the computing device, please refer to Figure 7 .
[0033] In one or more embodiments of the present invention, the production host (130) is a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logical device that utilizes the computing resources of one or more separate and / or separate physical computing devices. For example, in one or more embodiments of the present invention, the production host (130) may be a distributed device that includes components distributed across any number of separate and / or separate computing devices. In such cases, the functionality of the production host (130) may be performed by multiple different computing devices without departing from the present invention.
[0034] Without departing from the present invention, a system according to one or more embodiments of the present invention may include any number of production hosts (e.g., 130.2, 130.4). For example, a system may include a single production host (e.g., 130.2) or multiple production hosts (e.g., 130.2, 130.4).
[0035] In one or more embodiments of the present invention, the production host (130) provides services to the client (140). The service can be any type of computer-implemented service, such as a database service, an electronic communication service, a data storage service, and / or an instant messaging service. When providing such services to the client (140), data associated with the client (140) can be stored in a permanent storage device of the production host (130).
[0036] In one or more embodiments of the present invention, the production host (130) performs backup services (according to the data protection policy coordinated by the remote agent (110)), such as generating backups and storing them in the backup storage device (120). By storing the backups in the backup storage device (120), a copy of the data stored in the permanent storage device of the production host (130) can be redundantly stored in the backup storage device (120). By redundantly storing copies of data in the production host (130) and the backup storage device (120), it may be more likely that the stored data can be retrieved at a future point in time. For example, if the production host (e.g., 130.2) suffers a catastrophic failure or other type of data loss / corruption event, the data on the permanent storage device of the production host may be lost. However, because a copy of the data can be stored in the backup storage device (120), it may be possible to retrieve the data for use after the catastrophic failure. Therefore, embodiments of the present invention can improve the reliability of data storage in a distributed system.
[0037] The backup service may also include discovering assets of the production host (130) for data protection strategy development purposes. An asset may be a data structure hosted by the production host (130). The production host (130) may include any number of assets. Different production hosts (130) may include different or the same number of assets.
[0038] Due to the limited computing resources of the production host, it may not be possible to generate a backup that will simultaneously provide protection for all assets of one of the production hosts (130). In addition, some assets of the production host (130) may be more important than others. In order to increase the likelihood of protecting more important assets over less important assets, backup generation for the production host (130) may be prioritized based on the relative importance of the assets of the production host (130).
[0039] To facilitate prioritization of assets, the production host (130) may characterize the assets. Characterizing the assets may provide asset attributes associated with each of the assets. The production host (130) may provide information about discovered assets and / or asset attributes to the remote agent (110) to facilitate development of data protection policies. For additional details on the production host (130), see Figure 2.1 .
[0040] In one or more embodiments of the present invention, the backup storage device (120) is a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, a distributed computing system, or a cloud resource. The computing device may include one or more processors, a memory (e.g., a random access memory), and a permanent storage device (e.g., a disk drive, a solid-state drive, etc.). The permanent storage device may store computer instructions, such as computer code, which (when executed by the processor(s) of the computing device) causes the computing device to provide the functionality and / or the functions of the backup storage device (120) described herein. Figure 4.1-5 The backup storage device (120) may be other types of computing devices without departing from the present invention. For additional details on the computing device, please refer to Figure 7 .
[0041] In one or more embodiments of the present invention, the backup storage device (120) is a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logical device that utilizes computing resources of one or more separate and / or separate computing devices. For example, in one or more embodiments of the present invention, the backup storage device (120) is a distributed device that includes components distributed across any number of separate and / or separate computing devices. In such cases, the functionality of the backup storage device (120) may be performed by multiple different computing devices without departing from the present invention.
[0042] In one or more embodiments of the present invention, the backup storage device (120) provides data storage services to the production host (130). The data storage service may include storing data provided by the production host (130) and providing previously stored data to the production host (130). Such provided data may be used for recovery (and / or other) purposes. Without departing from the present invention, the system may include any number of backup storage devices (e.g., 120.2, 120.4). For example, a system according to an embodiment of the present invention may include only a single backup storage device (e.g., 120.2), or may include multiple backup storage devices (e.g., 120.2, 120.4).
[0043] In one or more embodiments of the present invention, the data stored by the backup storage device (120) includes a backup of a virtual machine hosted by a production host (130). For example, the production host (130) may host a virtual machine that hosts a database application. In order to generate a backup of the database, a backup of the virtual machine that hosts the database may be generated and sent to the backup storage device (120) for storage. At a future point in time, it may be necessary to restore the state of the database managed by the database application to a previous state. To this end, a previously stored backup of the virtual machine stored in the backup storage device (120) may be retrieved. The retrieved backup may be used to restore the application hosted by the virtual machine that hosts the database to a state associated with the backup, i.e., a desired previous state.
[0044] Although described above as storing backups of virtual machines, the backup storage device (120) may store other types of data from the production host (130) or other entities without departing from the invention. For example, the backup storage device (120) may store archives or other data structures from the client (140) or other entities.
[0045] In one or more embodiments of the present invention, the remote agent (110) is a computing device. The computing device may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a server, a distributed computing system, or a cloud resource. The computing device may include one or more processors, a memory (e.g., a random access memory), and a permanent storage device (e.g., a disk drive, a solid-state drive, etc.). The permanent storage device may store computer instructions, such as computer code, which, when executed by the processor(s) of the computing device, causes the computing device to provide the functionality and / or the functions of the remote agent (110) described herein. Figure 4.1-5 All or part of the method described in. Without departing from the present invention, the remote agent (110) may be other types of computing devices. For additional details on the computing device, please refer to Figure 7 .
[0046] In one or more embodiments of the present invention, the remote agent (110) is a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logical device that utilizes computing resources of one or more separate and / or separate computing devices. For example, in one or more embodiments of the present invention, the remote agent (110) is a distributed device that includes components distributed across any number of separate and / or separate computing devices. In such cases, the functionality of the remote agent (110) may be performed by multiple different computing devices without departing from the present invention.
[0047] In one or more embodiments of the invention, the backup storage device (120) provides the functionality of the remote agent. For example, the backup storage (120) may host an application that provides all or a portion of the functionality of the remote agent (110). Without departing from the invention, the functionality of the remote agent (110) may be provided by Figure 1 provided by other components of the system.
[0048] In one or more embodiments of the present invention, the remote agent (110) provides data protection services. The data protection services may include (i) identifying and / or characterizing assets of the production host, (ii) generating a data protection policy for the production host based on the assets of the production host, and (iii) generating a backup for the production host according to the data protection policy. By doing so, when compared to other methods for providing data protection services, the remote agent (110) can increase the likelihood that higher importance data stored in the production host (130) will be available for future use. Figure 1 The system may include any number of remote agents (e.g., 110.2, 110.4). For additional details on remote agents, see Figure 3.1 .
[0049] Although Figure 1 The system has been described and illustrated as including a limited number of components for the sake of brevity, but without departing from the present invention, the system according to the embodiment of the present invention may include more Figure 1 More, fewer and / or different components than those described in .
[0050] As discussed above, a production host may host virtual machines, applications, or other entities that provide services to clients. Figure 2.1 A diagram of an example production host (200) according to one or more embodiments of the present invention is shown. The example production host (200) can be similar to any production host (130, Figure 1 As discussed above, the example production host (200) can: (i) provide application services to clients and (ii) provide backup services to entities that provide application services to clients.
[0051] To provide the aforementioned functionality of the instance production host (200), the instance production host (200) may include a virtual machine (210), a hypervisor (220), and a production agent (230). Each component of the instance production host (200) is discussed below.
[0052] The virtual machines (210) may be applications. For example, the virtual machines (210) may be applications that are executed using physical computing resources of the instance production host (200) and / or other entities. In other words, each of the virtual machines (210) may be implemented as computer instructions stored on a permanent storage device, which, when executed by a processor of the instance production host (200) and / or other entity, produces the functionality of the corresponding virtual machine. Without departing from the present invention, the instance production host (200) may host any number of virtual machines (e.g., 210.2, 210.4).
[0053] Each of the virtual machines (210) can host any number of applications. The applications can provide application services to clients or other entities. For example, the applications can be database applications, electronic communication applications, file sharing applications, and / or other types of applications. Each of the virtual machines (210) can host any number of applications without departing from the present invention.
[0054] Each of the applications may perform similar or different functions. For example, the first application may be a database application and the second application may be an electronic communication application. In another example, the first application may be a first instance of a database application and the second application may be a second instance of a database application.
[0055] In one or more embodiments of the present invention, all or part of an application program provides application program services to a client. The services provided may correspond to the type of each application program in the application program. When providing application program services to a client, data related to the client may be received by the application program and / or generated by the application program. The application program may store such related data as part of the application program data associated with the corresponding application program in a permanent storage device of an instance production host (200) and / or other entity.
[0056] In some embodiments of the invention, some or all of the application data may be stored remotely from the instance production host (200). For example, the application data may be stored on a second production host that does not host the application, on a backup storage device, or on another entity. In some cases, the application data may span multiple entities, or multiple copies of the application data may be stored in multiple virtual machines to facilitate synergy of multiple instances of the application hosted by multiple virtual machines. The application data may be stored in other locations without departing from the invention.
[0057] Although the application has been described above as being hosted by a virtual machine (210), the application may not be hosted by a virtual machine without departing from the invention. For example, the application may be executed natively on the instance production host (200) rather than in a virtualized entity (e.g., one of the virtual machines (210)).
[0058] The application data hosted by the virtual machines (210) can be assets. As will be discussed in more detail below, each of the virtual machines (210) can inventory its data to identify assets, characterize assets to identify attributes of the assets, and provide such information to a remote agent for the purpose of data protection policy formulation. For additional details on the virtual machines (210), please refer to Figure 2.2 .
[0059] The hypervisor (220) can manage the execution of the virtual machines (210). The hypervisor (220) can instantiate and / or terminate any of the virtual machines (210). The hypervisor (220) can also allocate computing resources of the instance production host (200) to each of the virtual machines (e.g., 210.2, 210.4).
[0060] For example, the hypervisor (220) may allocate a portion of the persistent storage of the instance production host (200). Any amount of storage resources of the persistent storage may be allocated between the virtual machines (eg, 210.2, 210.4) in any manner.
[0061] Although discussed with respect to storage resources, the hypervisor (220) may allocate other types of computing resources to the virtual machines (210) and / or other entities hosted by the instance production host (200) without departing from the present invention. For example, the hypervisor (220) may allocate processor cycles, memory capacity, memory bandwidth, and / or network communication bandwidth among the virtual machines (210) and / or other entities hosted by the instance production host (200).
[0062] In one or more embodiments of the present invention, the hypervisor (220) is a hardware device including circuitry. The hypervisor (220) may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The hypervisor (220) may be other types of hardware devices without departing from the present invention.
[0063] In one or more embodiments of the invention, the hypervisor (220) is implemented as computing code stored on a permanent storage device that, when executed by a processor, performs the functionality of the hypervisor (220). The processor may be a hardware processor including circuitry, such as a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the invention.
[0064] The production agent (230) can locally manage the provision of backup services to the virtual machine (210) and / or entities hosted by the virtual machine (210). For example, the production agent (230) can coordinate the generation of backups and the storage of the generated backups on the backup storage device (120, Figure 1 ) in storage. To coordinate the generation of backups, the production agent (230) may generate a virtual machine level backup. A virtual machine level backup may be a backup that represents the state of a virtual machine at a point in time (the difference between one state and another state).
[0065] In one or more embodiments of the invention, the production agent (230) manages the provision of backup services for the virtual machines (210) based on instructions received from one or more remote agents. These instructions may cause the production agent (230) to take actions to provide backup services. In other words, the production agent (230) may coordinate data protection services including generating backups, performing restores throughout the system, and / or providing remote access to application data extracted from backups stored in backup storage devices.
[0066] In one or more embodiments of the present invention, the production agent (230) prioritizes the generation of backups of the virtual machines (210) based on instructions obtained from one or more remote agents. For example, the remote agent may instruct the production agent (230) to generate and store backups of some or all of the virtual machines (210), and to store such backups in a backup storage device. The remote agent may also specify an order for generating backups of the virtual machines. In response to receiving such instructions, the production agent (230) may generate backups for the virtual machines (210) in the order specified by the remote agent. By doing so, backup generation may be prioritized.
[0067] In one or more embodiments of the invention, the production agent (230) includes functionality to report its activities to the remote agent. For example, the production agent (230) may monitor the backups generated and send notifications of the generated backups to the remote agent. The notifications sent by the production agent (230) may include information about the type of backups generated, the storage location of the generated backups, and / or any other information about the generated and stored backups that may be relevant to the data protection services provided by the remote agent. By doing so, the remote agent may notify entities hosted by the instance production host (200) of the backup generation.
[0068] The production agent (230) may also provide a recovery service. The recovery service may instantiate an entity that is now inaccessible due to, for example, a failure of a managed entity (such as a production host) at another location and in a predetermined state. To provide the recovery service, the production agent (230) may obtain any number of backups from a backup storage device and use the backups to restore the entity. For example, the production agent (230) may obtain a virtual machine level backup and use the obtained backup to instantiate a copy of the virtual machine. By doing so, the virtual machine may be restored to the state of the managed application in a predetermined state. Once in the predetermined state, the application may provide the desired application services and / or enable access to the application data of the application. Using different combinations of previously generated backups and / or portions of backups, the entity may be restored to different desired states.
[0069] To provide the functionality of the production agent (230) mentioned above, the production agent (230) may execute Figure 4.1-5 All or part of the method described in .
[0070] In one or more embodiments of the invention, the production agent (230) is a hardware device including circuitry. The production agent (230) may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The production agent (230) may be other types of hardware devices without departing from the invention.
[0071] In one or more embodiments of the invention, the production agent (230) is implemented as a computer code stored on a permanent storage device, which when executed by a processor performs the functionality of the production agent (230). The processor may be a hardware processor including circuitry, such as a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the invention.
[0072] Although Figure 2.1 The example production host (200) of FIG. 1 has been described and illustrated as including a limited number of components for the sake of brevity, but without departing from the present invention, a production host according to an embodiment of the present invention may include more than Figure 2.1 More, fewer and / or different components than those described in .
[0073] As discussed above, virtual machines hosted by production hosts can provide services to clients. Figure 2.2 A diagram illustrating an example virtual machine (250) in accordance with one or more embodiments of the invention.
[0074] The instance virtual machine (250) may include an application (252), a discovery agent (254), and persistent storage (260). Each component of the instance virtual machine (250) is discussed below.
[0075] As discussed above, the application (252) can provide application services to clients or other entities. The application (252) can be implemented as computer instructions, such as computer code, that when executed by a processor of the instance virtual machine (250), produce the functionality of the application (252).
[0076] When providing application services to clients and / or other entities, the application (252) may generate application data (262) that is stored in the persistent storage (260). The application data (262) may include any number of assets. As discussed above, an asset may be a data structure. Each of the assets of the application data (262) may be associated with a corresponding application of the application (252). For example, a database of application data (262) may be associated with a database application of the application (252). Without departing from the present invention, the application data (262) may include any number of assets associated with a corresponding application.
[0077] The discovery agent (254) may provide asset discovery services. The asset discovery services may include (i) identifying assets of the application data (262) using an asset classification schema (268), (ii) characterizing the assets using the asset classification schema (268) to identify properties of each of the assets, (iii) generating a virtual machine asset map (266) based on the assets and / or properties of the assets, and (iv) providing the virtual machine asset map to a remote agent. The discovery agent (254) may be instantiated by a remote agent to obtain the virtual machine asset map (266). The functionality of the discovery agent (254) may be invoked by the remote agent to coordinate the identification and characterization of the assets of the instance virtual machine (250).
[0078] In order to provide the above-mentioned functionality of the discovery agent (254), the discovery agent may execute Figure 5 All or part of the method described in .
[0079] In one or more embodiments of the invention, the discovery agent (254) is implemented as a computing code stored on a permanent storage device (e.g., 260) that, when executed by a processor, performs the functionality of the discovery agent (254). The processor may be a hardware processor including circuitry, such as a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the invention.
[0080] In one or more embodiments of the invention, the persistent storage device (260) is a logical storage device (e.g., a virtualized storage device) that utilizes any number of hardware storage resources of a production host (and / or other entity) that hosts an instance virtual machine (250). For example, the persistent storage device (260) may utilize portions of any combination of hard disk drives, solid-state disk drives, tape drives, and / or any other physical storage media of the production host and / or other entity used to provide storage resources. Such storage resources of the persistent storage device (260) may be used to host application data (262), asset classification schemas (268), virtual machine asset maps (266), and / or other data structures. Each of these data structures is discussed below.
[0081] As discussed above, application data (262) can be a data structure for storing data generated, maintained, and / or used by an application (252). Application data (262) can be any type of data. Application data (262) can be logically divided into assets. Each of the assets is associated with one or more of the applications (252). The association between an asset and an application (252) can represent the associated application (252) that uses, generates, and / or maintains the asset.
[0082] The asset classification schema (268) may be a data structure storing information for (i) identifying assets of the application data (262) and / or (ii) characterizing the assets of the application data (262) to obtain properties of each of the assets. The asset classification schema (268) may be provided by a remote agent and / or other entity.
[0083] In one or more embodiments of the invention, the asset classification schema (268) includes a list of asset types. The list of asset types may specify characteristics of each of the asset types that may be used to identify an asset corresponding to the application data (262) for each of the asset types.
[0084] For example, the list of asset types may specify an organizational structure of data corresponding to each of the asset types. In another example, the list of asset types may specify an identifier of the asset corresponding to each of the asset types. The characteristics of each asset type may be other types of asset characteristics without departing from the invention.
[0085] In one or more embodiments of the invention, the asset classification schema (268) includes a list of rules for each of the asset types for determining different asset attributes. For example, an attribute of an asset may be a frequency of use of the asset. A rule corresponding to the asset attribute may be sampling the frequency of use of the asset within a predetermined time period to identify the attribute of the asset. In another example, a second attribute of the asset may be an average amount of data of the asset. A second rule corresponding to the second attribute of the asset may be sampling the size of the asset within a predetermined time period to identify the attribute of the asset. The discovery agent (254) may perform actions according to the corresponding rules to identify the attribute of the asset.
[0086] The properties of an asset may include one or more of the following: (i) an interaction rate of the asset, (ii) a number of entities that interact with the asset, (iii) an amount of data included in the asset, (iv) an average interaction rate of the asset, (v) a maximum interaction rate of the asset, and / or (vi) a minimum interaction rate of the asset. The properties of an asset may include different properties than those listed without departing from the invention.
[0087] The virtual machine asset map (266) may be a data structure that includes information about the assets of the virtual machine and the attributes of the assets. For additional details on the virtual machine asset map, refer to Figure 2.3 .
[0088] Although Figure 2.2 The example virtual machine (250) has been described and illustrated as including a limited number of components for the sake of brevity, but without departing from the present invention, a virtual machine according to an embodiment of the present invention may include more than Figure 2.2 More, fewer and / or different components than those described in .
[0089] As discussed above, the virtual machine asset map may be used by the remote agent to prioritize backup generation. Figure 2.3 A diagram illustrating an instance virtual machine asset map (270) according to one or more embodiments of the invention. The instance virtual machine asset map (270) may be a data structure for storing information about assets of a virtual machine.
[0090] The instance virtual machine asset map (270) may include any number of entries (eg, 272, 278) for storing information about corresponding assets. Each of the entries (eg, 272, 278) may include an asset identifier (274) and asset attributes (276).
[0091] The asset identifier (274) can be information used to identify an asset associated with an entry (e.g., 272). The asset identifier (274) can be, for example, a name of an asset (e.g., a file name or other type of identifier). The asset identifier (274) can be used in conjunction with the asset identifiers of other entries of the instance virtual machine asset map (270) to identify each of the assets of the virtual machine associated with the instance virtual machine asset map (270).
[0092] The asset attributes (276) may be information used to distinguish an asset associated with the asset attributes (276) from other assets. For example, the asset attributes (276) may include one or more of the following: (i) an interaction rate of the asset, (ii) a number of entities that interact with the asset, (iii) an amount of data included in the asset, (iv) an average interaction rate of the asset, (v) a maximum interaction rate of the asset, and / or (vi) a minimum interaction rate of the asset. The attributes of an asset may include attributes other than those listed without departing from the invention.
[0093] Although Figure 2.3 The instance virtual machine asset map (270) has been described as including a limited amount of specific information, but the instance virtual machine asset map (270) may include more, different, and / or less information without departing from the present invention. In addition, although described as a list of entries (e.g., 272, 278), the instance virtual machine asset map (270) may have an organizational structure different from a list without departing from the present invention. In addition, the instance virtual machine asset map (270) may be divided into any number of separate data structures and / or may be integrated into another data structure without departing from the present invention.
[0094] As discussed above, a remote agent may provide data protection services. Figure 2.3A diagram of an example remote agent (300) is shown in accordance with one or more embodiments of the invention. The example remote agent (300) may include a backup manager (310) and a persistent storage device (320). Each of these components of the example remote agent (300) is discussed below.
[0095] The backup manager (310) may (i) coordinate discovery of assets of the virtual machine, (ii) generate lifecycle policies (322) based on the assets of the virtual machine, and (iii) coordinate generation and storage of backups of the virtual machine in a backup storage device based on the lifecycle policies (322).
[0096] To discover the assets of the virtual machine, the backup manager (310) can instantiate a discovery agent in the virtual machine, generate a virtual machine asset map (326) for the virtual machine, and store the virtual machine asset map (326) in the persistent storage device (320). As discussed above, the virtual machine asset map (326) can specify the assets of the virtual machine and the properties of the assets.
[0097] Using the virtual machine asset map (326), the backup manager (310) can generate an asset catalog (324). The asset catalog (324) can include information about each of the virtual machines for which the instance remote agent (300) provides data protection services. For additional details on the asset catalog (324), refer to Figure 3.2 .
[0098] To generate a lifecycle policy (322), the backup manager (310) may determine a priority for each of the virtual machines for which the instance remote agent (300) provides data protection services using the asset catalog (324). The lifecycle policy (322) may be generated such that the virtual machines are backed up in an order based on the priority of each of the virtual machines for which the instance remote agent (300) provides data protection services.
[0099] To coordinate the generation and storage of backups of the virtual machines, the backup manager (310) may send instructions to the production hosts to generate backups of the virtual machines according to the lifecycle policy (322). For example, the instructions may specify an order in which backups are to be generated for each of the virtual machines hosted by the production hosts. Different instructions may be sent to different production hosts reflecting the virtual machines hosted by each of the corresponding production hosts.
[0100] To provide the above-mentioned functionality of the backup manager (310), the backup manager (310) may perform all or part of the methods described in 4.1-5.
[0101] In one or more embodiments of the present invention, the backup manager (310) is a hardware device including a circuit system. The backup manager (310) may be, for example, a digital signal processor, a field programmable gate array, or an application specific integrated circuit. The backup manager (310) may be other types of hardware devices without departing from the present invention.
[0102] In one or more embodiments of the invention, the backup manager (310) is implemented as computing code stored on a permanent storage device that, when executed by a processor, performs the functionality of the backup manager (310). The processor may be a hardware processor including circuitry, such as a central processing unit or a microcontroller. The processor may be other types of hardware devices for processing digital information without departing from the invention.
[0103] In one or more embodiments of the invention, the permanent storage device (320) is a physical storage device. The physical storage device may include any combination of hard disk drives, solid state disk drives, tape drives, and / or any other physical storage device media for storing data.
[0104] In one or more embodiments of the invention, the persistent storage device (320) is a logical storage device (e.g., a virtualized storage device) that utilizes any number of hardware storage resources of any number of computing devices for storing data. For example, the persistent storage device (320) may utilize portions of any combination of hard disk drives, solid state disk drives, tape drives, and / or any other physical storage media of any number of computing devices. The persistent storage device (320) may store lifecycle policies (322), asset catalogs (324), virtual machine asset maps (326), and asset classification schemas.
[0105] The lifecycle policy (322) can be a data structure that includes information about a data protection policy. The data protection policy can specify (i) the relative importance of generating a backup of each of any number of virtual machines, (ii) when to generate a backup of each of any number of virtual machines, (iii) where to store the generated backups, (iv) how many copies of the backups to store, and / or (v) other characteristics of the data protection policy employed by any number of virtual machines.
[0106] For example, one of the lifecycle policies (322) may specify that backups for a virtual machine are generated every 12 hours, that the generated backups are stored in a particular backup storage device, and that the priority for generating backups for the virtual machine is 42 on a 100-point scale. The priority for generating backups for a virtual machine may be specified via other methods without departing from the present invention. For example, the priority may be specified as being more important relative to an enumerated list of other virtual machines for which backups are generated. Or, in another example, the priority may be a list of other virtual machines that are considered less important than the virtual machine associated with the lifecycle policy that specifies the importance.
[0107] The asset catalog (324) can be a data structure that includes information about all assets and / or asset attributes of a virtual machine for which the instance remote agent (300) provides data protection services. The asset catalog (324) can reflect the information included in the virtual machine asset map (326). For additional details on the asset catalog (324), see Figure 3.2 .
[0108] A virtual machine asset map (326) may be a data structure that includes information about assets and / or asset attributes of a corresponding virtual machine. Any number of virtual machine asset maps (e.g., 326.2, 326.4) may exist in the persistent storage device (320). The virtual machine asset map (326) may be obtained from the corresponding virtual machine. Once the information from the corresponding virtual machine asset map (326) is incorporated into the asset catalog (324), the virtual machine asset map (326) may be deleted and / or retained. In some cases, only the virtual machine asset map (326) is in the persistent storage device (320). In other words, the asset catalog (324) may not be generated, and the virtual machine asset map (326) may be used instead of the asset catalog (324).
[0109] In some cases, multiple virtual machine asset maps (326) may be obtained from the virtual machine. The multiple virtual machine asset maps may be obtained at different points in time. For example, when an application hosted by the virtual machine changes, it may be necessary to generate a virtual machine asset map for the virtual machine to accurately reflect the assets included in the virtual machine after the application hosted by the virtual machine changes. Therefore, when the state of the virtual machine changes, a new virtual machine asset map may be generated and sent to the instance remote agent (300). The asset catalog (324) and / or lifecycle policy (322) may be updated to reflect the new virtual machine asset map.
[0110] The asset classification schema (328) may be similar to the asset classification schema (268, Figure 2.2 ). As will be discussed below, the asset classification schema (328) can be provided to the virtual machines so that the assets of each of the virtual machines are identified and / or characterized in a similar manner.
[0111] Although Figure 2.3 The remote agent (300) of FIG. 1 has been described and illustrated as including a limited number of components for the sake of brevity, but without departing from the present invention, the remote agent according to an embodiment of the present invention may include more than Figure 2.3 More, fewer and / or different components than those described in .
[0112] As discussed above, the asset catalog can be used by the remote agent to prioritize backup generation. Figure 3.2 A diagram illustrating an example asset catalog (350) in accordance with one or more embodiments of the invention. The example asset catalog (350) may be a data structure for storing information about assets for any number of virtual machines.
[0113] The example asset catalog (350) may include any number of entries (e.g., 352, 360) for storing information about corresponding assets. Each of the entries (e.g., 352, 360) may include an asset identifier (354), asset attributes (356), and an asset host identifier (358).
[0114] The asset identifier (354) can be information used to identify an asset associated with an entry (e.g., 352). The asset identifier (354) can be, for example, a name of the asset (e.g., a file name or other type of identifier). The asset identifier (354) can be used in conjunction with asset identifiers of other entries of the instance asset catalog (350) to identify each of the assets of any number of virtual machines associated with the corresponding virtual machine identified by the asset host identifier (358).
[0115] The asset attributes (356) may be information used to distinguish the asset associated with the asset attributes (356) from other assets. For example, the asset attributes (356) may include one or more of the following: (i) an interaction rate of the asset, (ii) a number of entities that interact with the asset, (iii) an amount of data included in the asset, (iv) an average interaction rate of the asset, (v) a maximum interaction rate of the asset, and / or (vi) a minimum interaction rate of the asset. The attributes of the asset may include attributes other than those listed without departing from the invention.
[0116] The asset host identifier (358) can be information used to identify the virtual machine associated with the entry. For example, the asset host identifier (358) can be the name of the virtual machine, a universally unique identifier associated with the virtual machine, or another type of information used to distinguish the virtual machine comprising the asset from other virtual machines.
[0117] Although Figure 3.2The asset host identifier (358) has been described as including a limited amount of specific information, but the asset host identifier (358) may include more, different, and / or less information without departing from the present invention. Furthermore, while described as a list of entries (e.g., 352, 360), the asset host identifier (358) may have an organizational structure different than a list without departing from the present invention. Additionally, the asset host identifier (358) may be divided into any number of separate data structures and / or may be integrated into another data structure without departing from the present invention.
[0118] Return to Figure 1 , the remote agent (110) may provide data protection services to the production host (130) and / or other entities. Figure 4.1-4.3 Description: When providing data protection services, Figure 1 A method for executing a remote agent of a system.
[0119] Figure 4.1 A flowchart showing a method according to one or more embodiments of the present invention is shown. According to one or more embodiments of the present invention, Figure 4.1 The method described in can be used to obtain the asset map of a virtual machine. Figure 4.1 The method shown in the embodiment may be implemented by, for example, a remote agent (e.g., 110, Figure 1 ) is executed. Without departing from the present invention, Figure 1 Other components of the system described in may execute Figure 4.1 All or part of the method.
[0120] Although Figure 4.1 Described as a series of steps, however, any steps may be omitted, any steps may be performed in a different order, additional steps may be included, and / or any or all of the steps may be performed in parallel and / or in a partially overlapping manner without departing from the invention.
[0121] At step 400, a new virtual machine is identified for a data protection service.
[0122] In one or more embodiments of the invention, the new virtual machine is a virtual machine that has been recently instantiated in a production host. The new virtual machine may be identified for the data protection service based on a message received from the production host that hosts the new virtual machine. For example, when the new virtual machine is instantiated, the production host that hosts the virtual machine may notify a remote agent of the instantiated new virtual machine.
[0123] At step 402, a discovery agent is instantiated in the new virtual machine.
[0124] In one or more embodiments of the invention, a discovery agent is instantiated by sending instructions to a production host hosting a new virtual machine. The instructions may specify a new discovery agent to be instantiated.
[0125] In one or more embodiments of the invention, the asset discovery schema is provided to the production host along with instructions to instantiate a discovery agent. A copy of the asset discovery schema may be stored in persistent storage of the new virtual machine.
[0126] At step 404, a virtual machine asset map for the virtual machine is obtained using a discovery agent.
[0127] In one or more embodiments of the invention, a virtual machine asset map for a virtual machine is obtained by sending instructions to a discovery agent of the virtual machine to generate an asset map. In response to receiving such instructions, the discovery agent may execute Figure 5 In one or more embodiments of the present invention, the generated virtual machine asset mapping is similar to Figure 2.3 Once the virtual machine asset map is generated, the discovery agent can provide the virtual sheen asset map to the remote agent. For example, the discovery agent can send a copy of the virtual machine asset map to the remote agent.
[0128] Step 404 may be repeated to generate a virtual machine asset map as needed. As discussed above, changes to a virtual machine may render a virtual machine asset map obsolete. A new virtual machine asset map may be generated to update an existing virtual machine asset map. For example, a virtual machine asset map may be generated periodically and sent to a remote storage device. In another example, a virtual machine asset map may be generated and sent to a remote storage device in response to a predetermined event. The predetermined event may include the instantiation of an application on a permanent storage device, a change in an application usage pattern, the removal of an application, or other types of events related to changes in the assets of a virtual machine.
[0129] The method may end after step 404 .
[0130] Through Figure 4.1 The described method can obtain asset maps for any number of virtual machines. The virtual machine asset maps can be used to generate lifecycle policies used when providing data protection services by a remote agent.
[0131] Figure 4.2 A flowchart showing a method according to one or more embodiments of the present invention is shown. According to one or more embodiments of the present invention, Figure 4.2 The method described in can be used to generate a backup of a virtual machine. Figure 4.2 The method shown in the embodiment may be implemented by, for example, a remote agent (e.g., 110, Figure 1 ) is executed. Without departing from the present invention, Figure 1 Other components of the system described in may execute Figure 4.2 All or part of the method.
[0132] Although Figure 4.2 Described as a series of steps, however, any steps may be omitted, any steps may be performed in a different order, additional steps may be included, and / or any or all of the steps may be performed in parallel and / or in a partially overlapping manner without departing from the invention.
[0133] At step 410, the asset catalog is updated with the asset mapping associated with the virtual machine.
[0134] In one or more embodiments of the invention, the asset catalog is updated by replacing all or a portion of the asset catalog associated with the virtual machine with the information included in the asset map. For example, the asset catalog can be a collection of information included in any number of asset maps. The asset catalog can be updated by removing information from the asset catalog associated with the virtual machine and adding information included in the virtual machine asset map to the asset catalog. By doing so, the asset catalog can be updated to reflect the assets of the virtual machine for which the remote agent provides data protection services.
[0135] At step 412, a lifecycle policy is generated based on the asset catalog.
[0136] In one or more embodiments of the invention, a lifecycle policy specifies a data protection policy for a virtual machine. The data protection policy may specify the relative importance of generating backups for a virtual machine relative to generating backups for other virtual machines.
[0137] In one or more embodiments of the invention, a lifecycle policy is generated by ranking virtual machines for which a remote agent provides data protection services based on commonalities included in the asset catalog. The commonality may be, for example, the number of virtual machines for each of the managed assets. The commonality may be, for example, the number of virtual machines that utilize a particular asset. The commonality may be, for example, the frequency of interaction with a particular asset. The commonality may be based on other information included in the asset catalog without departing from the invention.
[0138] For example, multiple virtual machines may host copies of a particular asset and / or type of asset. Thus, all of the multiple virtual machines may have the same commonality of hosting the particular asset and / or type of asset. The importance of an asset may be associated with the number of virtual machines that include copies of the asset. Thus, the number of virtual machines that host copies of a particular asset may indicate the importance of the asset. Thus, all of the virtual machines that host copies of a particular asset may have the same importance as the importance of the asset.
[0139] In another example, multiple virtual machines may utilize copies of a particular asset hosted by a virtual machine. Therefore, the importance of the asset may be very high. The virtual machine hosting the particular asset may have the same importance as the asset.
[0140] In another example, an asset may be used very frequently resulting in a high interaction rate, such as an access and / or modification rate. Therefore, the importance of the asset may be very high. A virtual machine hosting a particular asset may have the same importance as the asset.
[0141] Thus, the importance of each virtual machine may be derived from the importance of each of the assets hosted by each respective virtual machine.For example, the importance of each virtual machine may be derived by ranking each of the virtual machines relative to each other virtual machine based on the assets hosted by each of the virtual machines.
[0142] Lifecycle policies can be accessed through Figure 4.3 The lifecycle policy may be generated by other methods without departing from the present invention.
[0143] At step 414, a backup for the virtual machine is generated using the lifecycle policy.
[0144] In one or more embodiments of the invention, a lifecycle policy is used to generate backups for a virtual machine by prioritizing generation of backups for the virtual machine relative to generation of backups for other virtual machines. In other words, a lifecycle policy may specify a relative importance of generating backups for the virtual machine relative to backups for other virtual machines. When generation of backups for a virtual machine is triggered by a lifecycle policy, generation of backups for the virtual machine may be prioritized relative to generation of backups for other virtual machines that cannot be generated simultaneously due to computing resource constraints.
[0145] In one or more embodiments of the present invention, a backup for a virtual machine is generated by sending an instruction to generate a backup to a production host hosting the virtual machine. The instruction may specify that a backup for the virtual machine is generated according to a lifecycle policy. For example, the instruction may specify that a backup for the virtual machine takes precedence over backups for one or more other virtual machines. Once received, the production host may prioritize the generation of backups for the virtual machine according to the instruction received from the remote agent.
[0146] The method may end after step 414 .
[0147] As discussed above, lifecycle policies can be used in Figure 4.2 The method described in is used to generate the backup. Figure 4.3 A flowchart showing a method according to one or more embodiments of the present invention is shown. According to one or more embodiments of the present invention, Figure 4.3 The method described in is used to generate a lifecycle policy. Figure 4.3 The method shown in the embodiment may be implemented by, for example, a remote agent (e.g., 110, Figure 1 ) is executed. Without departing from the present invention, Figure 1Other components of the system described in may execute Figure 4.3 All or part of the method.
[0148] Although Figure 4.3 Described as a series of steps, however, any steps may be omitted, any steps may be performed in a different order, additional steps may be included, and / or any or all of the steps may be performed in parallel and / or in a partially overlapping manner without departing from the invention.
[0149] At step 420, commonalities between assets specified in the asset catalog are identified.
[0150] As mentioned above, a commonality may be a characteristic of an asset that indicates the relative importance of the asset relative to other assets. For example, a commonality may be the number of copies of the asset stored in virtual machines, the interaction rate of each of the assets, the number of virtual machines that utilize each of the assets, and / or other characteristics of the asset, i.e., asset attributes included in the asset catalog.
[0151] At step 422, the assets specified in the asset catalog are ranked based on the identified commonalities to obtain an asset ranking.
[0152] In one or more embodiments of the invention, the asset ranking specifies the order specified in the asset catalog in an order corresponding to the number of copies of each asset. In other words, the relative importance of each asset is given based on the number of copies of the asset specified in the asset catalog.
[0153] In one or more embodiments of the invention, the asset ranking specifies a plurality of rankings of assets. Each of the rankings may correspond to an attribute of the asset attributes. Each ranking may be based on the value of the corresponding attribute of each of the asset attributes.
[0154] For example, a first ranking may be based on the frequency of interaction of each asset. A second ranking may be based on the number of virtual machines utilizing each asset. The asset ranking may specify any number of rankings based on any number of asset attributes.
[0155] At step 424, a lifecycle policy is generated based on the asset rankings.
[0156] In one or more embodiments of the invention, a policy lifecycle is generated by adding a priority to the lifecycle policy. The priority may specify the relative importance of generating a backup for a virtual machine relative to generating backups for other virtual machines.
[0157] In one or more embodiments of the present invention, the priority is determined by ranking all virtual machines based on the comprehensive ranking of each virtual machine. The comprehensive ranking may be determined by averaging the ranking of each asset hosted by the virtual machine.
[0158] For example, consider a scenario where a virtual machine hosts a database application and an email application. The ranking of the database application's data may be 8, and the ranking of the email application's data may be 4. To determine the overall ranking of the remote agent, the average of these rankings may be determined. In other words, the overall ranking of the virtual machine may be 6 ([4+8] / 2=6).
[0159] In one or more embodiments of the present invention, the average ranking of each asset hosted by the virtual machine is a weighted average. For example, the average can be weighted by weighting the ranking of each asset based on the amount of data of the asset, the interaction rate of the asset, or another attribute of the asset.
[0160] For example, consider a second scenario where a virtual machine hosts a database application and an email application. The ranking of the database application's data may be 8, and the ranking of the email application's data may be 4. The database application's data may be 100 gigabytes, and the email application's data may be 6.25 gigabytes. To determine the overall ranking of the remote agent, a weighted average of these rankings may be determined. In other words, the overall ranking of the virtual machine may be 6 ([4*6.25+8*100] / 110=7.5).
[0161] In one or more embodiments of the invention, other characteristics besides priority are generated based on the comprehensive ranking. For example, the frequency of backups, the number of stored copies, and / or other characteristics of the data protection policy specified by the lifecycle policy may be based on the comprehensive ranking.
[0162] A frequency specified by a lifecycle policy that determines when to trigger the generation of a backup for a virtual machine may be specified. A larger composite ranking may result in a higher frequency of inclusion in a lifecycle policy, while a smaller composite ranking may result in a lower frequency of inclusion in a lifecycle policy. For example, the highest composite ranking may correspond to a frequency of twice daily, while the lowest composite ranking may correspond to a frequency of once a week.
[0163] The method may end after step 424 .
[0164] As discussed above, a virtual machine asset map can be used to generate an asset catalog for generating a lifecycle policy. The virtual machine asset map can be generated by a discovery agent. The remote agent can send a request to the discovery agent to generate and provide the virtual machine asset map.
[0165] Figure 5 A flowchart showing a method according to one or more embodiments of the present invention is shown. According to one or more embodiments of the present invention, Figure 5 The method described in may be used to respond to a request for a virtual machine asset mapping. Figure 5The method shown in can be performed by, for example, a production host (e.g., 130, Figure 1 ) is executed. Without departing from the present invention, Figure 1 Other components of the system described in may execute Figure 5 All or part of the method.
[0166] Although Figure 5 Described as a series of steps, however, any steps may be omitted, any steps may be performed in a different order, additional steps may be included, and / or any or all of the steps may be performed in parallel and / or in a partially overlapping manner without departing from the invention.
[0167] At step 500 , virtual machines are crawled using asset classification patterns to identify assets of the virtual machines.
[0168] In one or more embodiments of the present invention, a virtual machine is crawled by comparing a portion of the data of the virtual machine with an asset type specified by an asset classification pattern. The portion of the data of the virtual machine that matches the asset type can be identified as an asset that matches the asset type. By crawling the virtual machine, an asset list of the virtual machine can be obtained.
[0169] At step 502, each of the identified assets is characterized using an asset classification schema to obtain asset attributes for each of the identified assets. As discussed above, the asset classification schema may include rules that may be used to obtain the asset attributes.
[0170] For example, a rule of an asset classification pattern may specify one or more actions performed by a discovery agent to obtain asset properties corresponding to the rule.An asset classification pattern may include any number of rules to obtain any number of asset properties for each of the assets of a virtual machine.
[0171] At step 504, a virtual machine asset map is generated based on (i) the identified assets and (ii) the asset attributes corresponding to each of the identified assets. For example, the virtual machine asset map can be a data structure that includes a list of the identified assets. For each of the identified assets, the virtual machine asset map can include the corresponding asset attributes. The virtual machine asset map can be similar to the one in Figure 2.3 The instance virtual machine asset mapping (270, Figure 2.3 ).
[0172] At step 506, the virtual machine asset map is provided to the remote agent.
[0173] In one or more embodiments of the invention, the virtual machine asset mapping is provided to the remote agent by sending the virtual machine asset mapping to the remote agent. The virtual machine asset mapping may be provided to the remote agent via other methods without departing from the invention.
[0174] The method may end after step 506 .
[0175] In order to further clarify the embodiments of the present invention, Figure 6.1-6.5 Each of these figures may illustrate a similar Figure 1 For the sake of brevity, only a limited number of Figure 1 The components of the system are Figure 6.1-6.5 Each of them is described in.
[0176] Examples
[0177] Consider a scenario where a remote agent (600) provides data protection services to a production host (610) as in Figure 6.1 The scenario described in . A production host (610) hosts a first virtual machine (612). The first virtual machine (612) hosts an email application that generates email application data (614).
[0178] To provide data protection services to the production host (610), the remote agent (600) instantiates a discovery agent (not shown) and a first virtual machine (612). Once instantiated, the discovery agent generates a virtual machine asset map for the first virtual machine (612). The asset map (not shown) indicates assets for the email application data (614). Once generated, the discovery agent sends the virtual machine asset map to the remote agent (600).
[0179] In response to receiving the virtual machine asset mapping, the remote agent (600) updates the asset catalog (not shown) using the virtual machine asset mapping. After updating the asset mapping, the remote agent (600) generates a lifecycle policy (602) using the asset catalog. For the purpose of backup generation, the lifecycle policy (602) specifies that the first virtual machine is ranked as priority 1. In other words, for the purpose of backup generation, the lifecycle policy (602) specifies that the first virtual machine takes precedence over all virtual machines.
[0180] After generating the lifecycle policy (602), such as Figure 6.2 As shown, a second virtual machine (616) is instantiated in the production host (610). The second virtual machine (616) hosts a database application (not shown) storing database application data (618) and the second virtual machine (616). After instantiating the second virtual machine (616), the production host (610) sends a notification to the remote agent (600) that the second virtual machine (616) has been instantiated.
[0181] In response to the notification, the remote agent (600) instantiates a second discovery agent (not shown) in the second virtual machine (616). After instantiation, the second discovery agent generates a second virtual machine asset map (not shown) for the second virtual machine (616). The second virtual machine asset map specifies assets of the database application data (618). After generating the second virtual machine asset map, the second discovery agent sends the second virtual machine asset map to the remote agent (600).
[0182] In response to receiving the second virtual machine asset mapping, the remote agent (600) updates the asset catalog to reflect the assets now included in the virtual machine. Once the asset catalog is updated, as in Figure 6.3 As shown in FIG. 6 , the remote agent ( 600 ) updates the lifecycle policy ( 602 ).
[0183] As in Figure 6.3 As can be seen in FIG. 1 , the updated lifecycle policy (602) specifies that the second virtual machine (616) is priority 1 for the purpose of backup generation, while the first virtual machine (612) has been downgraded to priority 2 for the purpose of backup generation. These priorities reflect that the database application data (618) of the second virtual machine (616) has a higher importance than the email application data (614) of the first virtual machine (612) for the purpose of backup generation. Therefore, when computing resources are limited and backup generation for the two virtual machines is coordinated, the backup generation (616) for the second virtual machine will take precedence over the backup generation (612) for the first virtual machine.
[0184] After updating the lifecycle policy (602), if Figure 6.4 In the embodiment, a third virtual machine (620) is instantiated in the production host (610). The third virtual machine (620) hosts a second instance of the email application of the first virtual machine (612) and generates email application data (622). After instantiating the third virtual machine (620), the production host (610) sends a second notification to the remote agent (600) indicating that the third virtual machine (620) has been instantiated.
[0185] In response to the second notification, the remote agent (600) instantiates a third discovery agent (not shown) in the third virtual machine (620). Once instantiated, the third discovery agent generates a third virtual machine asset map reflecting the assets of the email application data (622). After generating the third virtual machine asset map, the third discovery agent sends the third virtual machine asset map to the remote agent (600).
[0186] In response to receiving the third virtual machine asset mapping, the remote agent (600) updates the asset catalog (not shown). After the update, the asset catalog specifies that the virtual machine includes two copies of the asset (i.e., email application data (614, 622)) and the third asset (i.e., database application data (618)). After updating the asset catalog, as in Figure 6.5 As illustrated, the remote agent (600) updates the lifecycle policy (602) based on the updated asset catalog.
[0187] As in Figure 6.5 As can be seen in the figure, for the purpose of backup generation, the lifecycle policy (602) now specifies that the first virtual machine (612) has a priority of 1, the third virtual machine (620) has a priority of 2, and the second virtual machine (616) has a priority of 3. Therefore, when computing resources are limited, for the purpose of backup generation, the first virtual machine (612) will be prioritized over both the second virtual machine (616) and the third virtual machine (620). Similarly, the third virtual machine (620) will be prioritized over the second virtual machine (616) for the purpose of backup generation.
[0188] These priorities are determined in this manner due to the commonality of the email application data (614, 622). In other words, for the purpose of backup generation, the first virtual machine (612) and the third virtual machine (620) are prioritized over the second virtual machine (616) because they both include email application data, which has been determined to be more important than the database application data due to the presence of multiple copies of the email application data hosted by the virtual machines.
[0189] End of instance
[0190] Figure 1 Any component of may be implemented as a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logical device that utilizes computing resources of one or more separate and / or separate computing devices. As discussed above, embodiments of the present invention may be implemented using a computing device. Figure 7 A diagram showing a computing device according to one or more embodiments of the present invention. The computing device (700) may include one or more computer processors (702), non-permanent storage devices (704) (e.g., volatile memory, such as random access memory (RAM), cache memory), permanent storage devices (706) (e.g., hard disk, optical drive, such as compact disc (CD) drive or digital versatile disc (DVD) drive, flash memory, etc.), communication interface (712) (e.g., Bluetooth interface, infrared interface, network interface, optical interface, etc.), input device (710), output device (708), and many other elements (not shown) and functionality. Each of these components is described below.
[0191] In one embodiment of the present invention, the computer processor(s) (702) may be an integrated circuit for processing instructions. For example, the computer processor(s) may be one or more cores or microcores of a processor. The computing device (700) may also include one or more input devices (710), such as a touch screen, a keyboard, a mouse, a microphone, a touchpad, an electronic pen, or any other type of input device. In addition, the communication interface (712) may include an integrated circuit for connecting the computing device (700) to a network (not shown) (e.g., a local area network (LAN), a wide area network (WAN), such as the Internet, a mobile network, or any other type of network) and / or to another device (e.g., another computing device).
[0192] In one embodiment of the invention, the computing device (700) may include one or more output devices (708), such as a screen (e.g., a liquid crystal display (LCD), a plasma display, a touch screen, a cathode ray tube (CRT) monitor, a projector, or other display device), a printer, an external storage device, or any other output device. One or more of the output devices may be the same as or different from the input device(s). The input and output device(s) may be connected locally or remotely to the computer processor(s) (702), the non-persistent storage device(s) (704), and the permanent storage device(s) (706). There are many different types of computing devices, and the input and output device(s) described above may take other forms.
[0193] Embodiments of the present invention may provide methods for managing limited computing resources of a distributed system for the purpose of backup generation. For example, embodiments of the present invention may provide methods for determining when and for which components of a distributed system backups should be generated to reduce the likelihood of losing important data. Embodiments of the present invention may provide methods for distributing the computing workload of making such determinations among multiple components throughout a distributed system.
[0194] Additional embodiments of the present invention may provide a method for prioritizing backup generation that prioritizes different portions of data for backup without interrogating the content of the data. Thus, data privacy may be maintained while more important portions of data may be identified and prioritized for backup generation purposes.
[0195] Therefore, for the purpose of data protection, embodiments of the present invention can solve the problem of limited availability of computing resources in distributed systems that rely on data redundancy. Specifically, embodiments of the present invention can provide methods for distributing the computing load for making such determinations and / or enabling maintenance of data privacy while providing backup prioritization services.
[0196] The problems discussed above should be understood as examples of problems solved by the embodiments of the invention disclosed herein, and the invention should not be limited to solving the same / similar problems. The disclosed invention is generally applicable to solving a range of problems beyond those discussed herein.
[0197] One or more embodiments of the present invention may be implemented using instructions executed by one or more processors of a data management device. In addition, such instructions may correspond to computer-readable instructions stored on one or more non-transitory computer-readable media.
[0198] Although the present invention has been described above with respect to a limited number of embodiments, those skilled in the art having benefit of the present invention will appreciate that other embodiments may be designed which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the present invention should be limited only by the appended claims.
Claims
1. A remote agent for providing data protection services in a distributed system, comprising: a persistent storage device for storing lifecycle policies; and A backup manager programmed to: updating the asset catalog with an asset mapping associated with the virtual machine, wherein the asset is application data hosted by the virtual machine; Generating a lifecycle policy in the lifecycle policy using the asset catalog, wherein generating a lifecycle policy in the lifecycle policy using the asset catalog comprises: identifying commonalities between assets specified in the asset catalog; ranking the assets specified in the asset catalog based on the identified commonalities to obtain an asset ranking; and The lifecycle policy is generated based on the asset ranking by: generating a first comprehensive ranking for the virtual machine using the asset ranking; generating a second comprehensive ranking for a second virtual machine using the asset ranking; and adding a priority to the lifecycle policy based on the first comprehensive ranking, the priority being higher than a second priority of a second lifecycle policy associated with the second virtual machine; and generating a backup for the virtual machine using the lifecycle policy, The lifecycle policy prioritizes generating the backup for the virtual machine over generating a second backup for a second virtual machine.
2. The remote agent of claim 1, wherein the backup manager is further programmed to: Before updating said assets catalog: instantiating a discovery agent in the virtual machine; and The asset map is obtained using the discovery agent.
3. The remote agent of claim 2, wherein obtaining the asset map using the discovery agent comprises: crawling the virtual machine using an asset classification pattern to identify assets of the virtual machine; characterizing each of the identified assets using the asset classification schema to obtain asset attributes for each of the identified assets; and Update the asset mapping based on the following: the assets, and The asset attributes.
4. The remote agent of claim 3, wherein the asset classification schema specifies: The type of asset; and Characteristics of each of the assets of the type are defined for the asset attributes.
5. The remote agent of claim 1, wherein the commonality is a number of copies of each asset specified in the asset catalog.
6. The remote agent of claim 5, wherein the asset ranking is an ordering of the assets specified in the asset catalog in an order corresponding to a number of copies of each asset.
7. The remote agent of claim 1 , wherein generating the first comprehensive ranking for the virtual machine using the asset ranking comprises: identifying a first ranking of the asset ranking associated with a first asset of the virtual machine; identifying a second rank of the asset ranking associated with a second asset of the virtual machine; and The first composite ranking is generated using, in part, the first ranking and the second ranking.
8. The remote agent of claim 7, wherein generating the first composite ranking using in part the first ranking and the second ranking comprises generating an average using at least the first ranking and the second ranking.
9. A method for providing data protection services based on a lifecycle policy in a distributed system, comprising: updating the asset catalog with an asset mapping associated with the virtual machine, wherein the asset is application data hosted by the virtual machine; generating a lifecycle policy in the lifecycle policy using the asset catalog, wherein the lifecycle policy in the lifecycle policy is generated using the asset catalog include: identifying commonalities between assets specified in the asset catalog; ranking the assets specified in the asset catalog based on the identified commonalities to obtain an asset ranking; and The lifecycle policy is generated based on the asset ranking by: generating a first comprehensive ranking for the virtual machine using the asset ranking; generating a second comprehensive ranking for a second virtual machine using the asset ranking; and adding a priority to the lifecycle policy based on the first comprehensive ranking, the priority being higher than a second priority of a second lifecycle policy associated with the second virtual machine; and generating a backup for the virtual machine using the lifecycle policy, The lifecycle policy prioritizes generating the backup for the virtual machine over generating a second backup for a second virtual machine.
10. The method according to claim 9, further comprising: Before updating said assets catalog: instantiating a discovery agent in the virtual machine; and The asset map is obtained using the discovery agent.
11. The method of claim 10, wherein obtaining the asset map using the discovery agent comprises: crawling the virtual machine using an asset classification pattern to identify assets of the virtual machine; characterizing each of the identified assets using the asset classification schema to obtain asset attributes for each of the identified assets; and The asset map is generated based on: the assets, and The asset attributes.
12. The method of claim 11, wherein the asset classification schema specifies: The type of asset; and Characteristics of each of the assets of the type are defined for the asset attributes.
13. A non-transitory computer readable medium comprising computer readable program code, which when executed by a computer processor enables the computer processor to perform a method for providing data protection services based on a lifecycle policy in a distributed system, the method comprising: updating the asset catalog with an asset mapping associated with the virtual machine, wherein the asset is application data hosted by the virtual machine; generating a lifecycle policy in the lifecycle policy using the asset catalog, wherein the lifecycle policy in the lifecycle policy is generated using the asset catalog include: identifying commonalities between assets specified in the asset catalog; ranking the assets specified in the asset catalog based on the identified commonalities to obtain an asset ranking; and The lifecycle policy is generated based on the asset ranking by: generating a first comprehensive ranking for the virtual machine using the asset ranking; generating a second comprehensive ranking for a second virtual machine using the asset ranking; and adding a priority to the lifecycle policy based on the first comprehensive ranking, the priority being higher than a second priority of a second lifecycle policy associated with the second virtual machine; and generating a backup for the virtual machine using the lifecycle policy, The lifecycle policy prioritizes generating the backup for the virtual machine over generating a second backup for a second virtual machine.
14. The non-transitory computer readable medium of claim 13, wherein the method further comprises: Before updating said assets catalog: instantiating a discovery agent in the virtual machine; and The asset map is obtained using the discovery agent.
15. The non-transitory computer-readable medium of claim 14, wherein obtaining the asset map using the discovery agent comprises: crawling the virtual machine using an asset classification pattern to identify assets of the virtual machine; characterizing each of the identified assets using the asset classification schema to obtain asset attributes for each of the identified assets; The asset map is generated based on: the assets, and The asset attributes.
16. The non-transitory computer-readable medium of claim 15, wherein the asset classification schema specifies: The type of asset; and Characteristics of each of the assets of the type are defined for the asset attributes.
