System and method for scalable backup services
By using life cycle policies and resource allocation calendars in virtual machines, the computing resources of remote agents are dynamically adjusted and computing load changes are predicted, which solves the problem of improper computing load management in the existing technology and improves the efficiency and reliability of data protection services. , optimizing the resource allocation of data storage.
Patent Information
- Application Number
- CN202010390818.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-05-14
- Filing Date
- 2020-05-09
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-05-09
AI Technical Summary
Existing technologies are difficult to effectively manage and predict changes in computing load, resulting in improper resource allocation of data protection services and affecting the reliability and efficiency of data storage.
By using the life cycle policy and resource allocation calendar in the virtual machine, dynamically adjust the computing resource occupancy of the remote agent, predict the computing load change point and magnitude, update the resource allocation calendar to generate backups, and instantiate or terminate dynamically based on the prediction results Remote agent.
It improves the efficiency and reliability of data protection services, ensures the availability of data at future points in time, reduces computing resource usage, and optimizes distributed system resource allocation for data storage.
Smart Images

Figure CN111949442B_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 device may cause the data to be lost.
[0002] Over time, computing devices may generate data at different rates. For example, the storage of data in a database may be driven by the users of the database. When the users of the database are, for example, sleeping, the data generation rate associated with the database may be low. Conversely, when the users of the database are initially starting their workday, the data generation rate associated with the database may be high. Summary of the invention
[0003] In one aspect, a remote agent for providing data protection services to a virtual machine according to one or more embodiments of the present invention includes a permanent storage device and a backup manager. The permanent storage device is used to store a resource allocation calendar and a lifecycle policy associated with the virtual machine. The backup manager obtains a virtual machine data packet from a virtual machine in the virtual machine; identifies a computing load change point based on the lifecycle policy; uses the virtual machine data packet at least in part to predict the magnitude of the computing load during a time period delimited by the computing load change point; updates the resource allocation calendar to obtain an updated resource allocation calendar, the update is based on: the identified computing load change point and the magnitude of the computing load during the time period; and generates a backup for the virtual machine using the updated resource allocation calendar.
[0004] In one aspect, a method for enabling a remote agent to provide data protection services to a virtual machine according to one or more embodiments of the present invention includes obtaining a virtual machine data packet from a virtual machine in the virtual machine; identifying a computing load change point based on a lifecycle policy associated with the virtual machine; using the virtual machine data packet at least in part to predict the magnitude of the computing load during a time period defined by the computing load change point; updating a resource allocation calendar to obtain an updated resource allocation calendar, the update being based on: the identified computing load change point and the magnitude of the computing load during the time period; and generating a backup for the virtual machine using the updated resource allocation calendar.
[0005] In one aspect, a non-transitory computer-readable medium according to one or more embodiments of the present invention includes a computer-readable program code, which, when executed by a computer processor, enables the computer processor to perform a method for enabling a remote agent to provide data protection services to a virtual machine. The method includes obtaining a virtual machine data packet from a virtual machine in the virtual machine; identifying a computing load change point based on a life cycle policy associated with the virtual machine; using the virtual machine data packet at least in part to predict the magnitude of the computing load during a time period delimited by the computing load change point; updating a resource allocation calendar to obtain an updated resource allocation calendar, the update being based on: the identified computing load change point and the magnitude of the computing load during the time period; and generating a backup for the virtual machine using the updated resource allocation calendar. 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 implementations of the present invention by way of example and are not intended to limit the scope of the claims.
[0007] Figure 1 A diagram showing a system in accordance with one or more embodiments of the invention.
[0008] Figure 2.1 A diagram showing an example production host according to one or more embodiments of the invention.
[0009] Figure 2.2 A diagram showing an example virtual machine in accordance with one or more embodiments of the invention.
[0010] Figure 2.3 A diagram showing an example virtual machine data packet according to one or more embodiments of the invention.
[0011] Figure 3.1 A diagram showing an example remote agent in accordance with one or more embodiments of the invention.
[0012] Figure 3.2 A diagram showing an example resource allocation calendar in accordance with one or more embodiments of the invention.
[0013] Figure 4.1 A flow chart showing a method of updating a resource allocation calendar according to one or more embodiments of the present invention.
[0014] Figure 4.2 A flowchart showing a method of generating a backup according to one or more embodiments of the present invention.
[0015] Figure 5 A flow chart of a method for providing a virtual machine data packet request according to one or more embodiments of the present invention is shown.
[0016] Figure 6.1-6.7 A non-limiting example of a system according to an embodiment of the present invention is presented.
[0017] Figure 7 A diagram showing a computing device in accordance with one or more embodiments of the invention. DETAILED DESCRIPTION
[0018] Specific embodiments will now be described with reference to the accompanying drawings. In the following description, numerous 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 numerous changes 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.
[0019] In the following description of the figures, in various embodiments of the present invention, any component described with respect to a figure may be equivalent to one or more similarly named components described with respect to any other figure. For the sake of brevity, the description of these components will not be repeated with respect to each figure. Therefore, each and 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 with respect to the corresponding similarly named components in any other figure, implemented in conjunction with the embodiments, or implemented in place of the embodiments.
[0020] In general, embodiments of the present invention relate to systems, apparatuses, and methods for providing data protection services in a distributed system. Specifically, embodiments of the present invention may provide a system that dynamically instantiates and terminates remote agents that provide data protection services to a distributed system. Such instantiation and termination may be used to redistribute computing resources within the distributed system between providing services to clients of the distributed system and providing internal data protection services.
[0021] In one or more embodiments of the present invention, instantiation and termination are performed based on the predicted workload that will be caused by providing data protection services in the future. Predictions can be made by obtaining information about the assets of the entity that provides services to clients. Information about assets may include the type of asset, the application associated with the asset, and / or the rate of change of the asset's data. Such information about the entity's assets can be obtained using the entity's computing resources. By doing so, the workload of managing the instantiation and termination of remote agents can be distributed across a distributed system, enabling the computing footprint of remote agents to be reduced. Therefore, the computing resources of a distributed system can be dynamically allocated to entities that provide services to clients.
[0022] 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 may provide services to the client (140). By utilizing such services, data associated with the client (140) may be stored in the production host (130).
[0023] 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).
[0024] 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 generating and storing backups in a backup storage device based on a protection policy.
[0025] In one or more embodiments of the present invention, the remote agents (110) are resource-savvy entities. That is, the remote agents (110) can be designed to minimize their computing resource consumption footprint. In order to provide their functionality while minimizing their computing resource footprint, the remote agents (110) can dynamically scale their computing resource consumption.
[0026] For example, the master remote agent (112) may instantiate and / or terminate dynamic remote agents (114) to modify the rate at which computing resources are consumed by the remote agent (110). Thus, at any point in time, there may be any number of dynamic remote agents (e.g., 114.2, 114.4), and the number of such agents may vary over time.
[0027] To increase the likelihood that the remote agent (110) has sufficient computing resources available to provide backup services to the production host (130), the remote agent (110) may predict the likely backup load that the production host (130) will place on the remote agent (110). The prediction may be based on data obtained from the production host. By doing so, the remote agent (110) may pre-allocate computing resources over time in advance of the predicted backup load.
[0028] Figure 1 The components of the system described in the embodiment may be operably 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 .
[0029] 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 more details about the computing device, please refer to Figure 7 .
[0030] 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.
[0031] 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).
[0032] For example, consider a scenario in which a client utilizes a file storage service provided by an application of 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 or another entity that uploaded the image may desire 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).
[0033] In one or more embodiments of the present 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 more details about the computing device, please refer to Figure 7 .
[0034] In one or more embodiments of the 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 distinct physical computing devices. For example, in one or more embodiments of the invention, the production host (130) may be a distributed device that includes components distributed across any number of separate and / or distinct computing devices. In such scenarios, the functionality of the production host (130) may be performed by multiple different computing devices without departing from the invention.
[0035] 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, the system may include a single production host (e.g., 130.2) or multiple production hosts (e.g., 130.2, 130.4).
[0036] 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).
[0037] 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)), for example, generating a backup and storing it in the backup storage device (120). By storing the backup 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 is more likely that the stored data will be able to 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 is 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.
[0038] The backup service may also include assisting the remote agent (110) in generating predictions of future backup loads. The production host (130) may assist the remote agent (110) in generating predictions of future backup loads by providing information about the types of assets hosted by the production host (130) (e.g., data to be protected), the types of applications associated with the assets (e.g., applications that use, generate, and / or maintain the assets), and / or the transaction rates of the assets (e.g., the frequency and / or volume of changes in the assets' data). By doing so, the remote agents (110) may generate predictions of future backup loads to reduce their computing resource footprint while providing backup services to the production host (130). For more details on the production host (130), please refer to Figure 2.1 .
[0039] 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 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 more details about the computing device, please refer to Figure 7 .
[0040] 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 distinct 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 distinct computing devices. In such scenarios, the functionality of the backup storage device (120) may be performed by multiple different computing devices without departing from the present invention.
[0041] 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).
[0042] 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 the backup may be sent to the backup storage device (120) for storage. At a future point in time, it may be desirable 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 data hosted by the virtual machine that hosts the database to a state associated with the backup, i.e., a desired previous state.
[0043] 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 present invention. For example, the backup storage device (120) may store archives or other data structures from the client (140) and / or other entities.
[0044] 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 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 more details about the computing device, please refer to Figure 7 .
[0045] 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 distinct 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 distinct computing devices. In such scenarios, the functionality of the remote agent (110) may be performed by multiple different computing devices without departing from the present invention.
[0046] 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 device (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.
[0047] In one or more embodiments of the present invention, a remote agent (110) provides data protection services. The data protection services may include (i) generating backups for production hosts according to data protection policies, (ii) generating predictions of future backup loads to generate backups for production hosts, and (iii) dynamically modifying the computing resource footprint of the remote agent (110) based on the backup load predictions. By doing so, the remote agent (110) can transfer computing resources to the operation of an entity that provides application services to a client (140) while reducing the possibility of reducing the quality of data protection services provided to the production host (130).
[0048] For example, consider a scenario in which the backup load of a production host (130) varies significantly over time. If data protection services are not provided to the production host (130) in a timely manner, the functionality of entities (e.g., virtual machines) hosted by the production host (130) may be reduced. As a result, services provided to customers (140) may be negatively impacted. In order to increase the likelihood that data protection services will be provided to the production host promptly, the remote agent (110) may pre-allocate computing resources in advance of predicting the backup load so that the data protection services can be provided during the predicted backup load. Pre-allocating computing resources may include instantiating and / or terminating a dynamic remote agent (114), for example, by assigning portions of the backup workload to instances of the virtual machine by a master remote agent.
[0049] Figure 1 The system may include any number of remote agents (e.g., 112, 114.2, 114.4), for example, there may be multiple master remote agents (e.g., 112) and multiple groups of dynamic remote agents (e.g., 114) associated with the corresponding master remote agents. For more details about the remote agent (110), please refer to Figure 3.1 .
[0050] 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 .
[0051] As described above, a production host may host virtual machines, applications, or other entities that provide services to clients. Figure 2.1 A diagram showing an example production host (200) according to one or more embodiments of the present invention. The example production host (200) can be similar to the production host (130, Figure 1 As described above, the example production host (200) can provide: (i) application services to clients, and (ii) assist remote agents in generating predictions of future backup loads.
[0052] To provide the aforementioned functionality of the example production host (200), the example production host (200) may include a virtual machine (210), a hypervisor (220), a production agent (230). Each component of the example production host (200) is discussed below.
[0053] The virtual machines (210) may be application programs. For example, the virtual machines (210) may be application programs 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 entities, produces the functionality of the corresponding virtual machine. The instance production host (200) may host any number of virtual machines (e.g., 210.2, 210.4) without departing from the present invention.
[0054] 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.
[0055] 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.
[0056] In one or more embodiments of the present invention, all or a portion of an application program provides application services to a client. The services provided may correspond to an application type for each of the application programs. When providing application services to a client, data associated with the client may be received by the application program and / or generated by the application program. The application program may store such associated data as part of the application data associated with the corresponding application program in a permanent storage device of an instance production host (200) and / or other entity.
[0057] 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 in a second production host that does not host the application, in a backup storage device, or in 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 collaborative operation 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.
[0058] Although the application has been described above as being hosted by the virtual machine (210), the application may not be hosted by the virtual machine without departing from the invention. For example, the application may be executed natively on the example production host (200) rather than in a virtualized entity (e.g., one of the virtual machines (210)).
[0059] The application data hosted by the virtual machine (210) may be an asset. As will be discussed in more detail below, each of the virtual machines (210) provides information about their assets to enable the remote agent to more accurately predict future backup loads. For more details about the virtual machines (210), please refer to Figure 2.2 .
[0060] 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).
[0061] 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.
[0062] 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).
[0063] In one or more embodiments of the present invention, the hypervisor (220) is a hardware device including a circuit system. 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.
[0064] In one or more embodiments of the invention, the hypervisor (220) is implemented as a computing code stored on a permanent storage device, which, 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 that process digital information without departing from the invention.
[0065] 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) can generate a virtual machine level backup. A virtual machine level backup can be a backup that represents the state of a virtual machine at a certain point in time (or the difference from one state to another state).
[0066] In one or more embodiments of the invention, the production agent (230) manages the provision of backup services to the virtual machine (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 the generation of backups, the performance of restores of the entire system, and / or the provision of remote access to application data extracted from backups stored in a backup storage device.
[0067] In one or more embodiments of the invention, the production agent (230) provides information about the generated backups to the remote agent. The remote agent may use such information to provide search services. When such information is provided to the remote agent, a large backup load may be placed on the remote agent. In addition, if the remote agent is unable to handle the backup load, the production agent (230) may be required to reduce its backup generation activity to correspond to the rate at which the remote agent is able to handle the corresponding backup load.
[0068] For example, when the production agent (230) generates a backup, all or a portion of the information in the backup may be provided to the remote agent. Once provided to the remote agent, the remote agent may need to process the information about the backup to derive other useful information. If the backup is generated by the production agent (230) and / or other production agents of other production hosts at a faster rate than the remote agent can process the information about the backup, the remote agent may need to reduce the rate at which it generates the backup. Doing so may have significant negative consequences. For example, when generating a backup, a portion of the computing resources of the instance production host (200) are allocated for such activities. As a result, virtual machines and hosted applications may have reduced access to computing resources. In addition, due to the longer duration required for backup generation, the risk of data loss also increases. Therefore, it may be important to reduce the time used to generate the backup.
[0069] To provide the above functionality of the production agent (230), 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 computing 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 that process digital information without departing from the invention.
[0072] Although Figure 2.1 The example production host (200) 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 described above, virtual machines hosted by production hosts can provide services to clients. Figure 2.2 A diagram showing an example virtual machine (250) according to 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 described above, the application (252) can provide application services to clients and / 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 described above, the assets may be data structures. 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 assist the remote agent in obtaining information from the instance virtual machine (250) that may be used to predict future backup generation load. To this end, the discovery agent (254) may (i) identify assets of the application data (262), (ii) obtain information about assets that may be used to generate backup generation load predictions, and / or (iii) generate a virtual machine data package (264) based on the information obtained in (i) and (ii) and provide it to the remote agent. The discovery agent (254) may be instantiated by the remote agent to obtain the virtual machine data package (264). The functionality of the discovery agent (254) may be invoked by the remote agent to coordinate the generation of the virtual machine data package (264). For more information about the virtual machine data package (264), please refer to Figure 2.3 .
[0078] The information about the assets may include, for example, the amount of data included in each of the assets, the transaction rate of each of the assets, the application associated with the asset and / or other information about the asset and / or information indicating the rate of change of the data of the asset. The aforementioned information may be obtained by, for example, querying the operating system of the instance virtual machine (250) to obtain system metadata about the asset and / or sampling the asset. The sampling of the asset may be performed by, for example, monitoring the asset over a period of time and normalizing the data obtained from the monitoring.
[0079] In order to provide the above functionality of the discovery agent (254), the discovery agent may execute Figure 5 All or part of the method described in .
[0080] In one or more embodiments of the invention, the discovery agent (254) is implemented as 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 that process digital information without departing from the invention.
[0081] In one or more embodiments of the invention, the permanent storage device (260) is a logical storage device (e.g., a virtualized storage device) that utilizes any amount of hardware storage resources of a production host (and / or other entity) that hosts the instance virtual machine (250). For example, the permanent 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 to provide storage resources. Such storage resources of the permanent storage device (260) may be used to host application data (262) and virtual machine data packets (264). Each of these data structures is discussed below.
[0082] As described above, application data (262) can be a data structure that stores 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 indicate that the associated application (252) uses, generates, and / or maintains the asset.
[0083] The virtual machine data package (264) may be a data structure that includes information about the assets of the instance virtual machine (250). For more details about the virtual machine data package (264), please refer to Figure 2.3 .
[0084] 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 .
[0085] As described above, the virtual machine data package (264) may be provided by the discovery agent to the remote agent. Figure 2.3A diagram showing an example virtual machine data package (270) according to one or more embodiments of the invention. The example virtual machine data package (270) may be a data structure that stores information about virtual machine assets.
[0086] The instance virtual machine data packet (270) may include information about the asset's data volume (272), an application identifier (274) identifying an application associated with the asset, and a data change rate sample (276) for the asset.
[0087] The amount of data (272) may specify the amount of data in each or in the aggregate of the assets. Such information may be obtained by querying the operating system of the virtual machine hosting the asset or via other methods.
[0088] The application identifier (274) may be an identifier of an application associated with each of the assets of the virtual machine. Such information may be obtained by querying the operating system of the virtual machine hosting the asset or via other methods.
[0089] The data change rate samples (276) may include rate of change data for the assets. The data change rate samples (276) may be obtained by monitoring the assets over a predetermined period of time to identify any amount of changes made to the assets during the predetermined period of time. The data change rate samples (276) may then be determined by dividing the amount of changes made to each of the assets by a predetermined amount of time.
[0090] Although Figure 2.3 The example virtual machine data packet (270) has been described as including a limited amount of specific information, but the example virtual machine data packet (270) may include more, different, and / or less information without departing from the present invention. In addition, the example virtual machine data packet (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.
[0091] As mentioned above, remote agents can provide data protection services. Figure 3.1 A 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.
[0092] The backup manager (310) may (i) obtain a virtual machine data package (326) from a virtual machine for which the instance remote agent (300) will provide data protection services, (ii) generate a backup generation workload forecast using the virtual machine data package (326) and the lifecycle policy (322), (iii) generate a resource allocation calendar (324) based on the backup generation workload forecast, (iv) dynamically modify the computing resource footprint of the instance remote agent (300) based on the resource allocation calendar (324), (v) coordinate the generation and storage of virtual machine backups in a backup storage device based on the lifecycle policy (322), and (vi) process information about the generated backups to obtain a backup data directory (328). By doing so, the instance remote agent (300) may dynamically modify its computing resource footprint to provide data protection services to the production host. For more details about the resource allocation calendar (324), please refer to Figure 3.2 .
[0093] To obtain the virtual machine data package (326), the backup manager (310) can instantiate a discovery agent in the virtual machine, generate the virtual machine data package (326) using the discovery agent, and store the virtual machine data package (326) in the persistent storage device (320). As described above, the virtual machine data package (326) can include information about the virtual machine that can assist the backup manager (310) in predicting future backup generation workloads.
[0094] To provide the above functionality of the backup manager (310), the backup manager (310) may execute Figure 4.1-5 All or part of the method described in .
[0095] 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.
[0096] In one or more embodiments of the invention, the backup manager (310) is implemented as computing code stored on a permanent storage device, which, 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 that process digital information without departing from the invention.
[0097] 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 medium that stores data.
[0098] 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 amount of hardware storage resources of any number of computing devices to store 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), resource allocation calendars (324), virtual machine data packages (326), and backup data directories (328).
[0099] The lifecycle policy (322) can be a data structure that includes information about a data protection policy. The data protection policy can specify (i) when to generate a backup for each of any number of virtual machines, (ii) where the generated backups are to be stored, (iii) how many copies of the backups are to be stored, and / or (iv) other characteristics of the data protection policy to be employed for any number of virtual machines.
[0100] For example, one of the lifecycle policies (322) may specify that a virtual machine backup is to be generated every 12 hours and that the generated backup is to be stored in a particular backup storage device. Different lifecycle policies (322) may define different data protection policies for different virtual machines. There may be any number of lifecycle policies (322) for any number of virtual machines and / or groups of virtual machines (or other entities) without departing from the present invention.
[0101] The resource allocation calendar (324) can be a data structure that includes information about the computational footprint of remote agents over time. For example, the resource allocation calendar (324) can specify the number of master remote agents and dynamic remote agents to be operated at any point in time. For more details about the resource allocation calendar (324), see Figure 3.2 .
[0102] A virtual machine data packet (326) may be a data structure that includes information about the assets of a virtual machine. There may be any number of virtual machine data packets (e.g., 326.2, 326.4) in permanent storage (320). A virtual machine data packet (326) may be obtained from a corresponding virtual machine. Once information from a corresponding virtual machine data packet (326) is used to generate and / or update a resource allocation calendar (324), the virtual machine data packet (326) may be deleted and / or retained. In some cases, only the virtual machine data packet (326) is located in permanent storage (320). In other words, a resource allocation calendar (324) may not be generated, and a virtual machine data packet (326) may be used in place of a resource allocation calendar (324).
[0103] In some cases, multiple virtual machine data packets may be obtained from a virtual machine. Multiple virtual machine data packets may be obtained at different points in time. For example, as the application hosted by the virtual machine changes, more virtual machine data packets may need to be generated for the virtual machine to accurately reflect the assets included in the virtual machine after the application hosted by the virtual machine changes. Therefore, as the state of the virtual machine changes, new virtual machine data packets may be generated and sent to the instance remote agent (300). The resource allocation calendar (324) may be updated to reflect the new virtual machine data packets.
[0104] The backup data directory (328) may include information derived from information about backups generated by a production host. For example, the backup data directory (328) may include information about backups stored in a backup storage device. In order to minimize the storage footprint of the backups in the backup storage device, the backups may be stored in a format that is not easily indexed and / or searched. The information included in the backup data directory (328) may provide indexing and / or search functionality for the backups in the backup storage device. The information included in the backup data directory (328) may be other types of information without departing from the present invention.
[0105] Although Figure 3.1 The example remote agent (300) 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 remote agent according to an embodiment of the present invention may include more than Figure 3.1 More, fewer and / or different components than those described herein.
[0106] As described above, resource allocation calendars can be used to dynamically adjust the computational footprint of remote agents. Figure 3.2 A diagram showing an example resource allocation calendar (350) according to one or more embodiments of the invention. The example resource allocation calendar (350) may be a data structure that stores information about resource allocations for remote agents.
[0107] The example resource allocation calendar (350) may include any number of entries (e.g., 352, 360) storing information about resource allocations during corresponding time periods. Each of the entries (e.g., 352, 360) may include a time period identifier (354) and a resource allocation map (356).
[0108] The time period identifier (354) may be information used to identify the time period associated with the entry (eg, 352). The time period identifier (354) may be, for example, two descriptions, each of which specifies the beginning of the time period or the end of the time period for the entry.
[0109] The resource allocation map (356) may be information that specifies the computational footprint of the remote agent during the time period specified by the associated time period identifier (354). For example, the resource allocation map (356) may specify (i) the identity of a master remote agent responsible for providing data protection services for a set of virtual machines, and (ii) a plurality of dynamic remote agents that are to assist the master remote agent in providing backup services. The resource allocation map (356) may include such information for any number of master remote agents, each of which is associated with any number of virtual machines providing data protection services.
[0110] The resource allocation map (356) may specify the computational footprint of the remote agent in other ways without departing from the invention. For example, the resource allocation map (356) may specify the amount of processing resources, memory resources, storage resources, etc. allocated to the remote agent during a predetermined time period.
[0111] Although the example resource allocation calendar (350) has been described as including a limited amount of specific information, the example resource allocation calendar (350) may include more, different, and / or less information without departing from the present invention. Additionally, although described as a list of entries (e.g., 352, 560), the example resource allocation calendar (350) may have a different organizational structure other than a list without departing from the present invention. Furthermore, the example resource allocation calendar (350) 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.
[0112] 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.2 Describes the services that can be provided by Figure 1 A method for executing a remote agent of a system.
[0113] Figure 4.1 A flow chart showing a method according to one or more embodiments of the invention is shown. Figure 4.1The method depicted in may be used to update a resource allocation calendar according to one or more embodiments of the present invention. Figure 4.1 The method shown in can be performed by, for example, a remote agent (e.g., 110, Figure 1 ) to execute. Without departing from the present invention, Figure 1 Other components of the system described in the Figure 4.1 All or part of the method.
[0114] Although Figure 4.1 Described as a series of steps, any of the steps may be omitted, performed in a different order, may include more steps, 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.
[0115] At step 400, a virtual machine data packet is obtained. The virtual machine data packet may be associated with a virtual machine for which a data protection service is provided. The data protection service may be provided to any number of virtual machines.
[0116] The virtual machine data packet may include an identifier of an asset, such as a virtual machine, an identifier of an application associated with the asset, and a data change rate sample for each of the assets.The virtual machine data packet may be generated by a discovery agent.
[0117] The discovery agent may be instantiated in the virtual machine by the remote agent. For example, when the virtual machine starts to obtain data protection services from the remote agent, the discovery agent may be instantiated by the remote agent.
[0118] At step 402, a lifecycle policy associated with a virtual machine for which a data protection service is provided is obtained.
[0119] In one or more embodiments of the invention, the lifecycle policy is stored in a persistent storage device of the remote agent or in a persistent storage device otherwise accessible to the remote agent.The lifecycle policy may specify when a backup is to be generated for each of the virtual machines.
[0120] At step 404 , a computing load change point is identified based on the lifecycle policy, and a magnitude of the computing load during a time period delimited by the computing load change point is identified.
[0121] In one or more embodiments of the present invention, when a backup is to be generated for one of the virtual machines, the load change point is calculated as a time point specified by the lifecycle policy. For example, one of the virtual machines may be the virtual machine of step 400 .
[0122] By analyzing the lifecycle policy, any number of computational load change points can be identified. By doing so, a schedule of future computational load change points can be obtained.
[0123] For example, a first lifecycle policy may specify that a backup is to be generated at 1PM every day. A second lifecycle policy may specify that a second backup is to be generated at 3PM every day. In this scenario, 1PM and 3PM every day may be identified as computing load change points.
[0124] In one or more embodiments of the present invention, virtual machine data packages and lifecycle policies are used to identify computing loads during time periods demarcated by computing load change points. For example, during each of the time periods, backups that are planned to be generated during the time period may be identified.
[0125] The virtual machine data packet may be used to identify the magnitude of the computational load that generated each of the identified backups. For example, the amount of data for each asset, the transaction rate for each asset, and the applications associated with each asset may be used to predict how much the asset's data will change before each backup. The estimated amount of data for each asset predicted to change before each backup may be summed to estimate the total amount of data that needs to be processed by the remote agent. During each of the time periods delineated by the load points, the magnitude of the computational load may be identified by estimating the computational resources (i.e., the number of instances of the dynamic remote agent) required to process the total amount of data that needs to be processed by the remote agent during each time period.
[0126] The foregoing process may be repeated over any number of time periods delimited by any number of computational load change points to obtain computational load estimates associated with any number of time periods.
[0127] At step 406, the resource allocation calendar is updated based on the identified computational load change point and the magnitude of the computational load during the time period.
[0128] As described above, the computational load change points may demarcate any number of time periods. As discussed with respect to step 404, each of the time periods may be associated with a corresponding computational load. The resource allocation calendar may be updated to reflect the time periods and corresponding resources required to satisfy each of the computational loads.
[0129] For example, an updated resource allocation calendar may specify any number of time periods and a corresponding number of dynamic remote agents that should operate during each of the respective time periods.
[0130] In one or more embodiments of the invention, each of the time periods of the updated resource allocation calendar is extended in time by the amount of the predetermined time. The amount of the predetermined time may be proportional to the number of dynamic remote agents specified for each time period. By doing so, a buffer may be provided for each time period so that the dynamic remote agent will be instantiated just before each time period and may be fully operational at the beginning of each time period.
[0131] When updating a resource allocation calendar, each time period specified by the resource allocation calendar may have an associated resource allocation. The associated resource allocation may be, for example, the number of dynamic remote agents to be instantiated prior to each respective time period.
[0132] The method may end after step 406 .
[0133] As described above, a resource allocation calendar may be used to schedule resource allocation for backup generation and processing purposes. Figure 4.2 A flow chart showing a method according to one or more embodiments of the invention is shown. Figure 4.2 The method depicted in may be used to generate a backup according to one or more embodiments of the present invention. Figure 4.2 The method shown in can be performed by, for example, a remote agent (e.g., 110, Figure 1 ) to execute. Without departing from the present invention, Figure 1 Other components of the system described in the Figure 4.2 All or part of the method.
[0134] Although Figure 4.2 Described as a series of steps, any of the steps may be omitted, performed in a different order, may include more steps, 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.
[0135] At step 410, a new time period specified by the resource allocation calendar is identified. As described above, the resource allocation calendar may specify different time periods. A new time period may be identified when a previous time period ends.
[0136] At step 412, a resource allocation associated with the new time period is identified.
[0137] In one or more embodiments of the present invention, a resource allocation calendar is used to identify resource allocation. As described above, a resource allocation calendar can specify resource allocation for each time period.
[0138] At step 414, the existing resource allocation is updated based on the resource allocation. The resource allocation may be updated by instantiating a new remote agent or terminating an existing remote agent to modify the existing resource allocation to match the resource allocation. Any number of master remote agents and / or dynamic remote agents may be instantiated and / or terminated during the update.
[0139] At step 416, backup generation events are identified during the new time period.
[0140] In one or more embodiments of the present invention, a lifecycle policy is used to identify a backup generation event. For example, a lifecycle policy may specify that a backup is to be generated in response to a backup generation event. A backup generation event may be, for example, an occurrence at a specific point in time. Without departing from the present invention, a backup generation event may be other types of events.
[0141] At step 418, a backup is generated using the updated resource allocation in response to the backup generation event.
[0142] In one or more embodiments of the invention, a backup is generated for a virtual machine involved in a lifecycle policy triggered by a backup generation event of step 416. The backup may be generated by instructing a production host hosting the virtual machine to generate a backup. The information may be streamed to one or more remote agents (e.g., a dynamic remote agent responsible for managing resource allocation for updates of the streamed information). The remote agent may use the streamed information to update a backup data directory. Updating the backup data directory may add information about the backup to the backup data directory. By doing so, the information included in the backup data directory (328, FIG. 3) may be used to search for the backed-up data.
[0143] The method may end after step 416 .
[0144] As described above, for data protection purposes, a discovery agent may be used to obtain virtual machine data packets. Figure 5 A flow chart showing a method according to one or more embodiments of the invention is shown. Figure 5 The method described in may be used to obtain a virtual machine data packet according to one or more embodiments of the present invention. Figure 5 The method shown in the above may be performed by, for example, a production host (e.g., 130, Figure 1 ) to execute. Without departing from the present invention, Figure 1 Other components of the system described in the Figure 5 All or part of the method.
[0145] Although Figure 5 Described as a series of steps, any of the steps may be omitted, performed in a different order, may include more steps, 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.
[0146] At step 500, assets of a host virtual machine are identified.
[0147] In one or more embodiments of the present invention, the assets of the host virtual machine are data structures associated with applications hosted by the host virtual machine. The assets of the host virtual machine can be identified by crawling the permanent storage device of the virtual machine. When crawling the permanent storage device of the virtual machine, the identified portion of the data stored in the permanent storage device can be compared with the asset type list. The asset type list can specify the characteristics of each of the assets that can be used to identify the asset. For example, the asset type list can include identifiers of different types of assets.
[0148] In one or more embodiments of the invention, the host virtual machine is a virtual machine that hosts a discovery agent that identifies assets of the host virtual machine. Without departing from the invention, the host virtual machine may be a different virtual machine than the virtual machine that hosts the discovery agent.
[0149] At step 502, an application associated with the asset is identified.
[0150] In one or more embodiments of the invention, applications are associated with assets based on the application's use of the asset, the asset's maintenance, and / or the asset's generation. The association may be based on other relationships without departing from the invention.
[0151] At step 504, the rate of change of data for the asset is sampled.
[0152] In one or more embodiments of the present invention, the data change rate of the asset is sampled by monitoring the change of the asset data within a predetermined time period. The data change rate can be determined by dividing the change by the predetermined time period.
[0153] At step 506 , a virtual machine data packet is generated based on a sample of (i) the identified asset, (ii) an application associated with the asset, and / or (iii) a data change rate of the asset.
[0154] In one or more embodiments of the invention, a data packet for a virtual machine is a data structure that includes information about (i) an identified asset, (ii) an application associated with the asset, and / or (iii) a sample of the rate at which data changes at the asset. Without departing from the invention, the virtual machine data packet may include more, less, and / or different information that can be used to predict future backup loads.
[0155] At step 508, the virtual machine data packet is provided to the remote agent.
[0156] In one or more embodiments of the invention, the virtual machine data packet is provided to the remote agent by sending a copy of the virtual machine data packet to the remote agent.
[0157] In one or more embodiments of the invention, the virtual machine data package is provided to the remote agent by making the virtual machine data package accessible to the remote agent. For example, the virtual machine data package may be made accessible by providing remote access to the remote agent.
[0158] The method may end after step 508 .
[0159] Figure 5 The method may be called by the remote agent. For example, the remote agent may send instructions to the discovery agent hosted by the virtual machine to perform the method. The remote agent may send such instructions at different points in time. For example, the instructions may be sent to the discovery agent when the virtual machine is initially designed as an entity for which the remote agent will provide data protection services. In another example, the instructions may be sent to the discovery agent after a period of time has passed since the previous instruction was sent. By doing so, an updated virtual machine data packet may be obtained.
[0160] In another example, instructions may be sent to the discovery agent in response to a predetermined event. The predetermined event may be when the predicted backup load deviates from the actual backup load. Such an event may indicate that an updated virtual machine data package should be obtained to improve the prediction accuracy of the remote agent.
[0161] In order to further illustrate the embodiments of the present invention, Figure 6.1-6.7 Each of these figures may illustrate a similar Figure 1 The system described in the example system and / or the data structures used by the example system. For the sake of brevity, only Figure 1 The limited number of components in the system Figure 6.1-6.7 Each of them is described in.
[0162] Examples
[0163] Consider Figure 6.1 , where a primary remote agent (600) will begin providing data protection services to a production host (610). The production host (610) hosts a first virtual machine (612), a second virtual machine (620), and a third virtual machine (622). Each of these virtual machines hosts an email application (not shown) and a database application (not shown). When operating, the email application hosted by each of the virtual machines generates email application data (614), and the database application generates database application data (616).
[0164] The lifecycle policy (not shown) associated with these applications specifies that backups are to be dynamically generated for the email application data (614) and that backups are to be generated for the database application data (616) every night between 11 PM and 12 AM. In order to dynamically generate backups for the email application data (614), the lifecycle policy specifies that a backup is to be generated whenever the email application data (614) includes 1 GB of changes (e.g., new data, modification of old data, removal of data, etc.).
[0165] To provide data protection services for the production host (610), the master remote agent (600) instantiates a discovery agent (618) in the first virtual machine (612). Once instantiated, the master remote agent (600) directs the discovery agent (618) to provide a virtual machine data package.
[0166] In response to instructions from the master remote agent (600), the discovery agent (618) identifies the email application data (614) and the database application data (616) as assets. The discovery agent (618) identifies these assets as being associated with the email application and the database application. In addition, the discovery agent (618) samples the rates of change of these assets over different time periods. Based on the sampling, the discovery agent (618) identifies that the email application data (614) has a very high rate of data change between 10AM and 12PM each day, and that the database application data (616) has an even higher rate of change over the course of each day, thereby generating a very large amount of data that needs to be processed each day for data protection purposes.
[0167] Using the aforementioned discovered information, the discovery agent (618) generates a virtual machine data packet and sends a copy of the virtual machine data packet to the primary remote agent (600).
[0168] In response to receiving the virtual machine data packet, the primary remote agent (600) generates a resource allocation calendar (602). Figure 4.1 As discussed, the resource allocation calendar (602) is generated by making predictions about backup loads during different time periods.
[0169] Figure 6.2A diagram showing a resource allocation calendar (602). As can be seen from the diagram of the resource allocation calendar (602), the resource allocation calendar (602) specifies different resource allocations associated with different time periods. A first time period from 10AM to 12PM is associated with a resource allocation of 2 dynamic remote agents. A second time period from 12PM to 11PM is associated with a resource allocation of zero dynamic remote agents. A third time period from 11PM to 12AM is associated with a resource allocation of 3 dynamic remote agents. A fourth time period from 12AM to 10AM is associated with a resource allocation of zero dynamic remote agents.
[0170] After establishing the resource allocation calendar (602), the primary remote agent (600) begins providing data protection services using the resource allocation calendar (602).
[0171] At the beginning of the first day, no dynamic remote agent is instantiated, such as Figure 6.1 No dynamic remote agents are instantiated because the resource allocation starting at 12AM specifies that zero dynamic remote agents are operating.
[0172] As the day progresses, the master remote agent (600) instantiates a first dynamic remote agent (604) and a second dynamic remote agent (606) at 10AM, such as Figure 6.3 As can be seen. The master remote agent (600) instantiates these dynamic remote agents because the time period specified in the resource allocation calendar starting at 10AM specifies a resource allocation that includes two dynamic remote agents. After instantiation, the master remote agent (600) distributes the backup workload to these remote agents. By doing so, the instantiated dynamic remote agents are able to properly handle the backup workload caused by the very high data change rate of the email application data (614) starting at 10AM.
[0173] As the day progresses, the master remote agent (600) terminates the dynamic remote agent at 12PM, as Figure 6.4 as seen. The master remote agent (600) terminates these dynamic remote agents because the time period specified in the resource allocation calendar starting at 12PM specifies a resource allocation that includes zero dynamic remote agents. The master remote agent (600) provides data protection services starting at 12PM without the assistance of the dynamic remote agents. However, the master remote agent (600) has difficulty keeping up with the backup workload caused by the email application data (614). Starting at 12PM, the rate of change of the email application data (614) is higher than expected, causing more backup generations to be performed to meet the requirements of the lifecycle policy. Therefore, the operation of the virtual machines (612, 620, 622) is negatively affected because the master remote agent (600) alone cannot process information about the backups quickly enough to keep up with the generated backups.
[0174] As the day progresses to 11pm, the master remote agent (600) instantiates a first dynamic remote agent (604), a second dynamic remote agent (606), and a third dynamic remote agent (608), such as Figure 6.5 As can be seen. The master remote agent (600) instantiates these dynamic remote agents because the time period specified in the resource allocation calendar starting at 11 PM specifies a resource allocation that includes three dynamic remote agents. After instantiation, the master remote agent (600) distributes the backup workload to these remote agents. By doing so, the instantiated dynamic remote agents (604, 606, 608) are able to properly handle the backup workload caused by the database application data (616) starting at 11 PM, when a backup of the database application data (616) is generated in order to comply with the lifecycle policy.
[0175] At the end of the day, the master remote agent (600) instructs the discovery agent (618) to provide a second virtual machine data package. The master remote agent (600) provides these instructions to the discovery agent (618) because it determines that providing data protection services from 12PM to 11PM will negatively impact the operation of the virtual machines (612, 6210, 622).
[0176] In response to receiving the instruction, the discovery agent (618) generates a second virtual machine data packet and provides the second virtual machine data packet to the primary remote agent (600). The second virtual machine data packet includes a data change rate sample compared to the first virtual machine data packet, the sample indicating a moderate number of backups generated from 12PM to 11PM.
[0177] In response to obtaining the second virtual machine data packet, the primary remote agent (600) updates the resource allocation calendar (602), such as Figure 6.6 As described. Figure 6.6 As can be seen, the resource allocation calendar (602) specifies that from 12PM to 11PM, the resource allocation of 1 dynamic remote agent is to be used. Therefore, from 12PM to 11PM the next day, the master remote agent (600) instantiates the first dynamic remote agent (604), such as Figure 6.7 As described.
[0178] End of instance
[0179] As shown in the above examples, the system according to the embodiment of the present invention can dynamically allocate resources for data protection services. For example, any number of dynamic remote agents can be instantiated and / or terminated. By doing so, the system can more effectively allocate limited computing resources to provide services to clients while also providing data protection services internally, thereby increasing the possibility of data survival for future use.
[0180] Figure 1 Any of the components in may be implemented as a distributed computing device. As used herein, a distributed computing device refers to functionality provided by a logic device that utilizes computing resources of one or more separate and / or distinct 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 invention. The computing device (700) may include one or more computer processors (702), non-permanent storage (704) (e.g., volatile memory such as random access memory (RAM), cache memory), permanent storage (706) (e.g., a hard disk, an optical drive such as a compact disc (CD) drive or a digital versatile disc (DVD) drive, flash memory, etc.), a communication interface (712) (e.g., a Bluetooth interface, an infrared interface, a network interface, an optical interface, etc.), an input device (710), an output device (708), and numerous other elements (not shown) and functionality. Each of these components is described below.
[0181] In one embodiment of the invention, the computer processor(s) (702) may be an integrated circuit that processes 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 touch pad, an electronic pen, or any other type of input device. Additionally, the communication interface (712) may include an integrated circuit that connects 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, such as another computing device.
[0182] 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 aforementioned input and output device(s) may take other forms.
[0183] Embodiments of the present invention may provide methods for managing limited computing resources of a distributed system of data protection services. For example, embodiments of the present invention may provide an architecture for dynamically allocating resources in a distributed system. The system may dynamically allocate resources based on predictions of future backup workloads that will be executed to meet lifecycle policy requirements. By doing so, the system may more effectively deploy limited computing resources to provide services to clients while complying with data protection policies.
[0184] Therefore, embodiments of the present invention can solve the problem of limited availability of computing resources in distributed systems that rely on data redundancy for data protection purposes. Specifically, embodiments of the present invention can provide a method for dynamically allocating resources of a distributed system based on predicted future backup workloads.
[0185] 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 broadly applicable to solving a range of problems beyond those discussed herein.
[0186] 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.
[0187] Although the present invention has been described above with respect to a limited number of embodiments, those skilled in the art having benefit of this disclosure 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 claims appended hereto.
Claims
1. A remote agent for providing data protection services to a virtual machine, comprising: a persistent storage device for storing a resource allocation calendar and a lifecycle policy associated with the virtual machines, wherein the lifecycle policy specifies when a backup is to be generated for each of the virtual machines; and A backup manager programmed to: obtaining a virtual machine data packet from a virtual machine in the virtual machines; Identifying computing load change points based on the lifecycle policy, wherein each computing load change point is a time point specified by the lifecycle policy when a backup is to be generated for the virtual machine; identifying, at least in part, using the virtual machine data packet, a magnitude of a corresponding computing load for generating a backup during each time period delineated by the computing load change point; Updating the resource allocation calendar to obtain an updated resource allocation calendar, wherein the updating is based on: Identify multiple computational load change points, and a plurality of said magnitudes of a plurality of said computational loads during said time periods, wherein said updated resource allocation calendar reflects the time periods and corresponding resources required to satisfy each of said computational loads; and Generating a backup for the virtual machine using the updated resource allocation calendar in the following manner: identifying a new time period specified by the updated resource allocation calendar; identifying a resource allocation associated with the new time period; Update the existing resource allocation to match the described resource allocation by: When the resource allocation associated with the new time period is greater than a second resource allocation associated with a previous time period, instantiating a dynamic remote agent that utilizes computing resources separate from computing resources of the remote agent; and terminating a second remote agent utilizing a second computing resource separate from the computing resources of the remote agent when the resource allocation associated with the new time period is less than a third resource allocation associated with a second previous time period; identifying backup generation events during the new time period; and A backup is generated in response to the backup generation event using resources in the updated existing resource allocation.
2. The remote agent of claim 1, wherein the dynamic remote agent is instantiated prior to the backup generation event.
3. The remote agent of claim 1, wherein the backup manager is further programmed to: Before obtaining the virtual machine data packet: Instantiating a discovery agent in the virtual machine; identifying assets of the virtual machine using the discovery agent; identifying, using the discovery agent, an application associated with the asset; sampling the rate of data change of the asset using the discovery agent; and The virtual machine data packet is generated based on at least the following contents: assets, applications, and A sample of the rate at which the data changes.
4. A method for enabling a remote agent to provide data protection services to a virtual machine, comprising: obtaining a virtual machine data package from a virtual machine in the virtual machines, wherein a lifecycle policy specifies when a backup is to be generated for each of the virtual machines; identifying computing load change points based on a lifecycle policy associated with the virtual machine, wherein each computing load change point is a time point specified by the lifecycle policy when a backup is to be generated for the virtual machine; identifying, at least in part, using the virtual machine data packet, a magnitude of a corresponding computing load for generating a backup during a time period delimited by the computing load change point; Updating a resource allocation calendar to obtain an updated resource allocation calendar, wherein the update is based on: Identify multiple computational load change points, and a plurality of said magnitudes of said computational load during said time periods, wherein said updated resource allocation calendar reflects the time periods and corresponding resources required to satisfy each of said computational loads; and Generating a backup for the virtual machine using the updated resource allocation calendar in the following manner: identifying a new time period specified by the updated resource allocation calendar; identifying a resource allocation associated with the new time period; Update the existing resource allocation to match the described resource allocation by: When the resource allocation associated with the new time period is greater than a second resource allocation associated with a previous time period, instantiating a dynamic remote agent that utilizes computing resources separate from computing resources of the remote agent; and terminating a second remote agent utilizing a second computing resource separate from the computing resources of the remote agent when the resource allocation associated with the new time period is less than a third resource allocation associated with a second previous time period; identifying backup generation events during the new time period; and A backup is generated in response to the backup generation event using resources in the updated existing resource allocation. The method of claim 4 , wherein the dynamic remote agent is instantiated prior to the backup generation event.
6. The method according to claim 4, further comprising: Before obtaining the virtual machine data packet: Instantiating a discovery agent in the virtual machine; identifying assets of the virtual machine using the discovery agent; identifying, using the discovery agent, an application associated with the asset; sampling the rate of data change of the asset using the discovery agent; and The virtual machine data packet is generated based on at least the following contents: assets, applications, and A sample of the rate at which the data changes.
7. A non-transitory computer readable medium containing computer readable program code, which when executed by a computer processor enables the computer processor to perform a method for causing a remote agent to provide data protection services to a virtual machine, the method comprising: obtaining a virtual machine data package from a virtual machine in the virtual machines, wherein a lifecycle policy specifies when a backup is to be generated for each of the virtual machines; identifying computing load change points based on a lifecycle policy associated with the virtual machine, wherein each computing load change point is a time point specified by the lifecycle policy when a backup is to be generated for the virtual machine; identifying, at least in part, using the virtual machine data packet, a magnitude of a corresponding computing load for generating a backup during a time period delimited by the computing load change point; Updating a resource allocation calendar to obtain an updated resource allocation calendar, wherein the update is based on: Identify multiple computational load change points, and a plurality of said magnitudes of said computational load during said time periods, wherein said updated resource allocation calendar reflects the time periods and corresponding resources required to satisfy each of said computational loads; and Generating a backup for the virtual machine using the updated resource allocation calendar in the following manner: identifying a new time period specified by the updated resource allocation calendar; identifying a resource allocation associated with the new time period; Update the existing resource allocation to match the described resource allocation by: When the resource allocation associated with the new time period is greater than a second resource allocation associated with a previous time period, instantiating a dynamic remote agent that utilizes computing resources separate from computing resources of the remote agent; and terminating a second remote agent utilizing a second computing resource separate from the computing resources of the remote agent when the resource allocation associated with the new time period is less than a third resource allocation associated with a second previous time period; identifying backup generation events during the new time period; and A backup is generated in response to the backup generation event using resources in the updated existing resource allocation.
8. The non-transitory computer readable medium of claim 7, wherein the dynamic remote agent is instantiated prior to the backup generation event.
