# Patent

## Title
System and method for structuring self-provisioning workloads deployed in virtualized data centers

## Abstract

The system and method for structuring self-provisioning workloads deployed in virtualized data centers described herein may provide a scalable architecture that can inject intelligence and embed policies into managed workloads to provision and tune resources allocated to the managed workloads, thereby enhancing workload portability across various cloud and virtualized data centers. In particular, the self-provisioning workloads may have a packaged software stack that includes resource utilization instrumentation to collect utilization metrics from physical resources that a virtualization host allocates to the workload, a resource management policy engine to communicate with the virtualization host to effect tuning the physical resources allocated to the workload, and a mapping that the resource management policy engine references to request tuning the physical resources allocated to the workload from a management domain associated with the virtualization host.

## Background
FIELD OF THE INVENTION
The invention generally relates to a system and method for structuring self-provisioning workloads deployed in virtualized data centers, and in particular, to a scalable architecture that can inject intelligence and embed policies into managed workloads to provision and tune resources allocated to the managed workloads, thereby enhancing workload portability across various cloud and virtualized data centers.
BACKGROUND OF THE INVENTION
Many current efforts ongoing within the information technology community include considerable interest in the concept of “intelligent workload management.” In particular, much of the recent development in the information technology community has focused on providing better techniques to intelligently mange “cloud” computing environments, which generally include dynamically scalable virtualized resources that typically provide network services. For example, cloud computing environments often use virtualization as the preferred paradigm to host workloads on underlying physical hardware resources. For various reasons, computing models built around cloud or virtualized data centers have become increasingly viable, including cloud infrastructures can permit information technology resources to be treated as utilities that can be automatically provisioned on demand. Moreover, cloud infrastructures can limit the computational and financial cost that any particular service has to the actual resources that the service consumes, while further providing users or other resource consumers with the ability to leverage technologies that could otherwise be unavailable. Thus, as cloud computing and storage environments become more pervasive, many information technology organizations will likely find that moving resources currently hosted in physical data centers to cloud and virtualized data centers can yield economies of scale, among other advantages.
Nonetheless, although many efforts in the information technology community relates to moving towards cloud and virtualized computing environments, existing systems tend to fall short in adequately addressing concerns relating to managing or controlling workloads and storage in such environments. For example, cloud infrastructures are typically designed to support generic business practices, which can prevent individuals and organizations from having the ability to suitably change or otherwise manage important aspects associated the cloud computing platforms. Moreover, concerns regarding performance, latency, reliability, and security tend to present significant challenges because outages and downtime can lead to lost business opportunities and decreased productivity, while generic cloud computing platforms may present concerns relating to governance, risk, and compliance. In other words, although the “state of the art” in instrumentation and management may be appropriate for workloads deployed in corporate data centers, the lack of visibility into cloud and virtualized data centers may result in significant management problems. As such, techniques currently used to instrument and manage workloads deployed in corporate data centers typically do not scale in cloud computing environments.
For example, FIG. 1 illustrates an exemplary existing system 100 typically used to structure workloads that have been deployed in virtualized data centers (e.g., a virtualized corporate computing infrastructure). In particular, the typical existing system 100 generally includes a data center manager (or orchestrator) 110 that has responsibility to manage one or more virtualization hosts (or management domains) 120. For example, the data center manager 110 may generally manage decisions that relate to deploying workloads 140 to the virtualization hosts and managing physical hardware and hypervisor resources 130 that have been assigned or otherwise allocated to the workloads 140. In many cases, the managed workloads 140 will have various attributes, parameters, or other constraints that relate to the physical hardware and hypervisor resources 130 that the workloads 140 require (e.g., a particular managed workload 140 may include a service level agreement that defines minimum storage capacities, memory requirements, network bandwidth, or other resource parameters). As such, the existing system 100 shown in FIG. 1 typically instruments the virtualization host 120 and the managed workload 140 to collect utilization metrics relating to the physical hardware and hypervisor resources 130 allocated to the workloads 140. The utilization metrics that the virtualization host 120 and the managed workload 140 collect would then be provided to the data center manager 110, which applies any specified policies relevant to determining whether to provision or tune the resources allocated to the workload (e.g., increasing storage capacity allocated to the workload 140 in response to the currently allocated storage capacity violating a service level agreement).
To close the resource management loop, the existing system 100 shown in FIG. 1 typically has the data center manager 110 communicate with the virtualization host 120 to effect provisioning or otherwise tuning the physical hardware and hypervisor resources 130 allocated to the managed workload 140. Accordingly, although the existing system 100 shown in FIG. 1 can provision or otherwise tune resources that have been assigned or allocated to managed workloads 140, the management infrastructure used therein suffers from several drawbacks. In particular, the management infrastructure that the existing system 100 uses to provision or otherwise tune resources allocated to managed workloads 140 lacks scalability because the data center manager 110 often becomes a bottleneck, especially in computing environments that have substantial quantities of workloads 140 or virtualization hosts 120 that need management. Moreover, in many scenarios, the management infrastructure shown in FIG. 1 may be impossible to deploy in cloud and virtualized data centers because cloud and virtualized data centers tend to provide little or no visibility into the underlying infrastructure, especially the abstracted physical hardware and hypervisor resources 130 allocated to the workloads 140 that may be deployed therein.
SUMMARY OF THE INVENTION
According to one aspect of the invention, a system and method for structuring self-provisioning workloads deployed in virtualized data centers may include a scalable architecture that can inject intelligence and embed policies into managed workloads deployed in cloud and virtualized data centers. In particular, the system and method described herein may generally be used to provision and tune resources allocated to the managed workloads in the cloud and virtualized data centers, thereby enhancing portability for the managed workloads across various cloud and virtualized data centers. In one implementation, the system and method described herein may structure the self-provisioning workloads for management in various dimensions to provide “intelligent workload management” over various attributes associated with the self-provisioning workloads. For example, to provide the “intelligent workload management” over the various attributes associated with the self-provisioning workloads, the system and method described herein may provision and tune physical resources allocated to the self-provisioning workloads in the various cloud and virtualized data centers and control governance, risk, and compliance for the self-provisioning workloads, among other things. For example, as will be described in further detail herein, the intelligence and policies that support self-provisioning within the managed workloads may include various components, including resource utilization instrumentation, a resource management policy engine, and a virtualization host specific mapping.
According to one aspect of the invention, the system and method described herein may support self-provisioning within managed workloads with resource utilization instrumentation, which may be structured within the managed workload at a lowest level. In particular, the resource utilization instrumentation may collect or gather information relating to utilization metrics associated with resources that various virtualization hosts (or management domains) have assigned or otherwise allocated to the managed workload. For example, the resource utilization instrumentation may monitor the allocated resources to gather utilization metrics relating to processing, memory, input/output bandwidth, storage, or other suitable resources that the virtualization hosts allocate to the workload. In one implementation, the resource utilization instrumentation may include a packaged module that can be loaded with a kernel associated with the managed workload, wherein the kernel may load the resource utilization instrumentation into a guest operating system that can run the workload over underlying physical hardware resources that certain virtualization hosts allocate to host the workload.
According to one aspect of the invention, the system and method described herein may further structure the managed workload with the resource management policy engine at a next level above the resource utilization instrumentation. The resource management policy engine may receive raw resource utilization metrics that the resource utilization instrumentation collects from the underlying physical resources. In one implementation, the resource management policy engine may then process the raw resource utilization metrics received from the resource utilization instrumentation to determine whether any action needs to be taken to tune or otherwise correct the physical resources allocated to the managed workload. For example, the resource management policy engine may evaluate whether the workload has any service level agreements or policies that define requirements associated with the allocated resources, whereby in response to determining that the raw resource utilization metrics violate any defined service level agreements or other policies, the resource management policy engine may initiate appropriate corrective action to remedy the violations. Alternatively, in response to determining that the raw resource utilization metrics comply with service level agreements or other policies associated with the workload, the resource management policy engine may determine that the virtualization host has allocated suitable physical resources to the workload and take no further action at that time.
According to one aspect of the invention, the system and method described herein may further structure the managed workload with the virtualization host specific mapping at a next level above the resource management policy engine. In particular, the hypervisor that a particular virtualization host allocates to the workload may generally execute the guest operating system hosting the workload over the underlying physical hardware resources, whereby the hypervisor may permit various workloads to share underlying physical hardware resources that the virtualization hosts allocate to host the workload. As such, a management domain within the virtualization host typically has responsibility to provision the physical hardware resources allocated to the guest operating system that hosts the workload, whereby the managed workload may execute the resource management policy engine in a guest virtual machine structured to communicate with the virtualization host. In particular, the resource management policy engine may be structured to communicate with the virtualization host to request that the virtualization host provision or tune the physical resources allocated to the guest operating system hosting the workload. As such, the virtualization host specific mapping may isolate the resource management policy engine from any differences between interfaces associated with the different management domains used across the various virtualization hosts. In this context, one or more virtual machine configuration files that can launch the guest operating system hosting the workload may specify limits or ranges for the physical resources to allocate to the guest operating system, wherein the resource management policy engine may reference the virtual machine configuration files to manage allocated physical resources within the limits or ranges specified in the virtual machine configuration files.
According to one aspect of the invention, in response to the physical resources allocated to the workload failing to comply with the limits or ranges specified in the virtual machine configuration files, or alternatively that the allocated physical resources have measured utilization metrics failing to comply with relevant service level agreements or other policies, the resource management policy engine may reference the virtualization host specific mapping to communicate with a particular virtualization host that can provision or tune the physical resources allocated to the workload. In one implementation, the resource management policy engine may then communicate a resource provisioning request to an interface associated with the particular virtualization host, wherein the request may specify the resource limits, ranges, or utilization metrics that the workload requires. The management domain associated with the virtualization host may then receive the resource provisioning request from the resource management policy engine and validate whether the virtualization host can satisfy the resource limits, ranges, or utilization metrics that the workload requires. In response to determining that the virtualization host has available physical hardware resources that can satisfy the request, the virtualization host may then provision the resources to the workload. Alternatively, in response to not having sufficient available physical hardware resources to satisfy the request, the resource management policy engine (or the virtualization host) may communicate with a data center manager, orchestrator, or other suitable resource manager, which may redeploy one or more aspects or portions of the workload to another virtualization with sufficient available resources to satisfy the request.
According to one aspect of the invention, the resource utilization instrumentation, the resource management policy engine, and the virtualization host specific mapping may therefore provide a structured software stack that can be packaged and injected into the managed workload. In particular, any suitable workload generating tool or utility may be modified to inject the structured software stack into the managed workload, whereby injecting the managed workload with the structured software stack having the resource utilization instrumentation, the resource management policy engine, and the virtualization host specific mapping packaged therein may support self-provisioning in the managed workload across various cloud or virtualized data centers.
Other objects and advantages of the invention will be apparent to those skilled in the art based on the following drawings and detailed description.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates an exemplary existing system typically used to structure workloads that have been deployed in virtualized data centers.
FIG. 2 illustrates an exemplary system for structuring self-provisioning workloads deployed in virtualized data centers, according to one aspect of the invention.
FIG. 3 illustrates an exemplary method for structuring self-provisioning workloads deployed in virtualized data centers, according to one aspect of the invention.
FIG. 4 illustrates an exemplary method for managing self-provisioning workloads, which may be structured and deployed in virtualized data centers with the techniques illustrated in FIG. 3, according to one aspect of the invention.



DETAILED DESCRIPTION
According to one aspect of the invention, FIG. 2 illustrates an exemplary system 200 that can be used to structure a self-provisioning workload 240 deployed in virtualized data centers. In particular, the system 200 illustrated in FIG. 2 may provide a scalable architecture that can inject intelligence and embed policies into the self-provisioning workload 240, whereby the system 200 may generally be used to provision and tune physical hardware and hypervisor resources 230 allocated to the workload 240 in the cloud and virtualized data centers. As such, the scalable architecture provided in the system 200 may enhance portability for the managed workload 240 across various cloud and virtualized data centers. In one implementation, the self-provisioning workload 240 may be structured for management in various dimensions to provide “intelligent workload management” over various attributes associated with the self-provisioning workload 240.
For example, to provide the “intelligent workload management” over the various attributes associated with the self-provisioning workload 240, the system 200 may be used to provision and tune physical resources 230 allocated to the self-provisioning workload 240 in the virtualized data centers and control governance, risk, and compliance for the self-provisioning workload 240, among other things. For example, as will be described in further detail herein, the intelligence and policies that support self-provisioning within the managed workload 240 may include various components, including resource utilization instrumentation 250, a resource management policy engine 260, and a virtualization host specific mapping 270. Furthermore, in one implementation, the system 200 may include various additional components and features that can be used to provide intelligent workload management over the self-provisioning workload 240 (e.g., as described in further detail in U.S. patent application Ser. No. 12/725,241, entitled “System and Method for Intelligent Workload Management,” filed on Mar. 16, 2010, the contents of which are hereby incorporated by reference in their entirety).
In one implementation, as noted above, the intelligence and policies that may be used to support self-provisioning within the managed workload 240 may include resource utilization instrumentation 250. In particular, the managed workload 240 may be structured with the resource utilization instrumentation 250 at a lowest level, wherein the resource utilization instrumentation 250 may collect or otherwise gather information relating to utilization metrics associated with resources that one or more virtualization hosts (or management domains) 250 have assigned or otherwise allocated to the managed workload 240. For example, the resource utilization instrumentation 250 may monitor the allocated resources to gather or otherwise collect utilization metrics relating to processing utilization, memory utilization, input/output bandwidth utilization (e.g., network bandwidth, disk bandwidth, etc.), storage utilization, or any other suitable utilization metric that relates to physical hardware and hypervisor resources 230 that the virtualization hosts 230 allocate to the workload 240. In one implementation, the resource utilization instrumentation 250 may include a packaged module that can be loaded with a kernel associated with the managed workload 240. For example, in response to a data center manager, orchestrator, or other resource manager deploying the workload 240 to a particular virtualization host 220, the kernel associated with the managed workload 240 may load the resource utilization instrumentation 250 into a guest operating system that can run the workload 240 over underlying physical hardware resources 230 that the particular virtualization host 220 allocates to host the workload 240.
In one implementation, the system 200 may further structure the managed workload 240 with the resource management policy engine 260 at a next level above the resource utilization instrumentation 250. The resource management policy engine 260 may receive the raw resource utilization metrics that the resource utilization instrumentation 250 collects from the underlying physical hardware and hypervisor resources 230. In one implementation, the resource management policy engine 260 may then process the raw resource utilization metrics received from the resource utilization instrumentation 250 to determine whether any action needs to be taken to tune or otherwise correct the physical hardware and hypervisor resources 230 allocated to the managed workload 240. For example, the resource management policy engine 260 may evaluate whether the workload 240 has any service level agreements or policies that define requirements associated with the resources allocated to the workload 240. Accordingly, in response to determining that the raw resource utilization metrics violate any defined service level agreements or other policies, the resource management policy engine 260 may initiate appropriate corrective action to remedy the violations. Alternatively, in response to determining that the raw resource utilization metrics comply with service level agreements or other policies associated with the workload 240, the resource management policy engine 260 may determine that the virtualization host 220 has allocated suitable physical resources 230 to the workload 240 and take no further action at that time.
In one implementation, the resource management policy engine 260 may enforce service level agreements or other policies depending on certain types or other characteristics associated with the workload 240. For example, where the workload 240 provides a function that requires high availability (e.g., a payroll processing system), the service level agreements or other policies enforced with the resource management policy engine 260 may require that the processing utilization for the workload 240 remain a certain threshold below capacity to ensure that the workload 240 will continue to be available in the event that the processing utilization subsequently spikes. In another example, the resource management policy engine 260 may compute average utilization metrics over a period of time for some workloads 240 prior to taking any corrective action, while for other workloads 240, the resource management policy engine 260 may act on instantaneous utilization metrics, as appropriate. Moreover, in one implementation, the resource management policy engine 260 may customize any actions to be taken in response to the utilization metrics associated with various different resource classes violating the service level agreements or other policies (e.g., certain actions may be defined to remediate utilization violations associated with input/output bandwidth violations, while different actions may be defined to remediate utilization violations associated with storage capacity violations, etc.).
In one implementation, the system 200 may further structure the managed workload 240 with the virtualization host specific mapping 270 at a next level above the resource management policy engine 260. In particular, the hypervisor 230 that a particular virtualization host 220 allocates to the workload 240 may generally execute the guest operating system hosting the workload 240 over the underlying physical hardware resources 230, whereby the hypervisor 230 may permit various workloads 240 to share the underlying physical hardware resources 230 that the particular virtualization host 220 allocates to host the workload 240. As such, a management domain within the virtualization host 220 typically has responsibility to provision the physical hardware resources 230 allocated to the guest operating system that hosts the workload 240, whereby the managed workload 240 may execute the resource management policy engine 260 in a guest virtual machine structured to communicate with the virtualization host 220. In particular, the resource management policy engine 260 may be structured to communicate with the virtualization host 220 to request that the virtualization host 220 provision or tune the physical resources 230 allocated to the guest operating system hosting the workload 240.
In one implementation, the virtualization host specific mapping 270 may therefore isolate the resource management policy engine 260 from any differences between interfaces associated with the different management domains used across the various virtualization hosts 220. For example, as described in further detail in U.S. patent application Ser. No. 12/725,241, entitled “System and Method for Intelligent Workload Management,” which has been incorporated by reference above, any particular managed workload 240 may have various components hosted or otherwise deployed within various different virtualization hosts 220 (e.g., the workload 240 may have physical storage resources 230 allocated in one virtualization host 220 that has a large amount of available storage capacity, physical processing resources 230 allocated in another virtualization host 220 that has substantial processing capacity, etc.). In this context, one or more virtual machine configuration files that can launch the guest operating system hosting the workload 240 may specify certain limits or ranges for the physical resources 230 to be allocated to the guest operating system. In one implementation, the resource management policy engine 260 may then reference the virtual machine configuration files to manage the allocated physical resources 230 within the limits or ranges specified in the virtual machine configuration files (i.e., ensuring that the allocated physical resources 230 fall within the specified limits or ranges, initiating corrective action in response to the allocated physical resources 230 failing to comply with the specified limits or ranges, etc.).
Accordingly, in response to the physical resources 230 allocated to the workload 240 failing to comply with the limits or ranges specified in the virtual machine configuration files, or alternatively that the allocated physical resources 230 have measured utilization metrics failing to comply with relevant service level agreements or other policies, the resource management policy engine 260 may reference the virtualization host specific mapping 270 to communicate with a particular virtualization host 220 that can provision or tune the physical resources 230 allocated to the workload 240. In one implementation, the resource management policy engine 260 may then communicate a resource provisioning request to an interface associated with the particular virtualization host 220, wherein the request may specify the resource limits, ranges, or utilization metrics that the workload 240 requires. The management domain associated with the virtualization host 220 may then receive the resource provisioning request from the resource management policy engine 260 and validate whether the virtualization host 220 has sufficient physical hardware resources 230 available to satisfy the resource limits, ranges, or utilization metrics that the workload 240 requires. In response to determining that the virtualization host 220 has available physical hardware resources 230 that can satisfy the request, the virtualization host 220 may then provision or otherwise tune the resources 230 allocated to the workload. Alternatively, in response to the virtualization host 220 not having available physical hardware resources 230 sufficient to satisfy the request, the resource management policy engine 260 (or the virtualization host 220) may communicate with a data center manager, orchestrator, or other suitable resource manager, which may redeploy one or more aspects or portions of the workload 240 to another virtualization host 220 that has sufficient available resources 230 to satisfy the request.
In one implementation, the resource utilization instrumentation 250, the resource management policy engine 260, and the virtualization host specific mapping 270 may therefore provide a structured software stack that can be packaged and injected into the managed workload 240. In particular, any suitable workload generating tool or utility may be modified to inject the structured software stack into the managed workload 240, whereby injecting the managed workload 240 with the structured software stack having the resource utilization instrumentation 250, the resource management policy engine 260, and the virtualization host specific mapping 270 packaged therein may support self-provisioning in the managed workload. For example, in one implementation, the system 200 may include a workload generating tool or utility that can be used to build virtual appliances with the structured software stack injected therein (e.g., as described in further detail in U.S. patent application Ser. No. 12/476,144, entitled “System and Method for Managing a Virtual Appliance Lifecycle,” filed on Jun. 1, 2009, the contents of which are hereby incorporated by reference in their entirety).
According to one aspect of the invention, FIG. 3 illustrates an exemplary method 300 for structuring self-provisioning workloads deployed in virtualized data centers. In particular, the method 300 illustrated in FIG. 3 may generally be used to create a managed workload structured with a software stack having substantially similar components as described above in connection with FIG. 2 and then deploy the managed workload to one or more virtualization hosts. For example, in one implementation, the managed workload may be defined in an operation 310 using any suitable workload generating tool or utility that can inject the software stack into the managed workload. Thus, operation 310 may generally define various functions and characteristics associated with the workload (e.g., using techniques described in further detail in U.S. patent application Ser. No. 12/725,241, entitled “System and Method for Intelligent Workload Management,” and U.S. patent application Ser. No. 12/476,144, entitled “System and Method for Managing a Virtual Appliance Lifecycle,” which have incorporated by reference above). The managed workload defined in operation 310 may then be modified to include the structured software stack that can support the workload self-provisioning following deployment to the virtualization hosts, as will be described in further detail herein.
For example, in one implementation, an operation 320 may include injecting resource utilization instrumentation into the managed workload. In particular, the resource utilization instrumentation may provide intelligence and policies that can support self-provisioning within the managed workload at a lowest level, wherein the resource utilization instrumentation may be configured to collect or gather information relating to utilization metrics associated with resources that will be assigned or otherwise allocated to the managed workload. For example, the resource utilization instrumentation may monitor allocated resources to gather utilization metrics relating to processing, memory, input/output bandwidth (e.g., network bandwidth, disk bandwidth, etc.), storage, or other physical resources that may be allocated to the workload.
In one implementation, an operation 330 may then include declaring any resource utilization policies that apply to the managed workload, wherein the workload may structure a resource management policy engine that declares the resource utilization policies at a next level above the resource utilization instrumentation. The resource management policy engine may be configured or otherwise structured to receive raw resource utilization metrics that the resource utilization instrumentation may collect from the underlying physical resources that will be allocated to the workload, and may be further configured to process the raw resource utilization metrics to determine whether any action needs to be taken to tune or otherwise correct the allocation of the resources to the managed workload. For example, the resource management policy engine may declare any service level agreements or policies that define requirements associated with the resources to be allocated to the workload. Accordingly, in response to the raw resource utilization metrics collected with the resource utilization instrumentation violating any declared service level agreements or other policies, the resource management policy engine may be configured to initiate any appropriate corrective action that have been defined to remedy the violations. Alternatively, in response to the raw resource utilization metrics complying with the service level agreements or other policies declared for the workload, the resource management policy engine may be configured to determine that the workload has suitable physical resources allocated thereto.
In one implementation, the resource management policy engine may be configured to enforce the service level agreements or other policies declared for the workload depending on certain types or other characteristics associated with the workload. For example, the policies declared in operation 330 may cause the resource management policy engine to compute average utilization metrics over period of times prior to taking any corrective action, or alternatively cause the resource management policy engine to act on instantaneous utilization metrics, as appropriate. Moreover, in one implementation, the policies declared in operation 330 may include customized actions that the resource management policy engine may take in response to utilization metrics associated with different resource classes violating the declared service level agreements or other policies.
In one implementation, an operation 340 may include establishing various virtualization host specific mappings, which the resource management policy engine may subsequently reference to control requests to provision or tune resources to be allocated to the managed workload. In particular, the workload defined in operation 310 may generally structure the virtualization host specific mapping at a next level above the resource management policy engine to manage a hypervisor that a particular virtualization host may allocate to the workload. For example, the hypervisor may generally execute a guest operating system hosting the workload over underlying physical hardware resources, whereby the hypervisor may permit various workloads to share the underlying physical hardware resources that the particular virtualization host allocates to host the workload. As such, a management domain within the virtualization host typically has responsibility to provision the physical hardware resources allocated to the guest operating system that hosts the workload, whereby the managed workload may execute the resource management policy engine in a guest virtual machine structured to communicate with the virtualization host. The resource management policy engine may therefore be structured to communicate with the virtualization host to request that the virtualization host provision or tune the physical resources allocated to the guest operating system hosting the workload, wherein the virtualization host specific mapping may isolate the resource management policy engine from any differences between interfaces associated with the different management domains used across the various virtualization hosts.
For example, as described in further detail in U.S. patent application Ser. No. 12/725,241, entitled “System and Method for Intelligent Workload Management,” which has been incorporated by reference above, any particular managed workload may have various components hosted or otherwise deployed within various different virtualization hosts (e.g., the workload may have physical storage resources allocated in one virtualization host that has a large amount of available storage capacity, physical processing resources allocated in another virtualization host that has substantial processing capacity, etc.). In this context, one or more virtual machine configuration files that can launch the guest operating system hosting the workload may specify certain limits or ranges for the physical resources to be allocated to the guest operating system, and the resource management policy engine may be configured to reference the virtualization host specific mapping and the virtual machine configuration files to manage the allocated physical resources within the specified limits or ranges in the virtual machine configuration files (i.e., ensuring that the allocated physical resources fall within the specified limits or ranges, initiating corrective action in response to the allocated physical resources failing to comply with the specified limits or ranges, etc.).
In one implementation, an operation 350 may then include deploying the managed workload structured with the resource utilization instrumentation, resource management policy engine, and the virtualization host specific mapping to one or more virtualization hosts. In particular, in response to a data center manager, orchestrator, or other resource manager deploying the workload to a particular virtualization host, a kernel associated with the managed workload may load the resource utilization instrumentation into a guest operating system that can run the workload over underlying physical resources that the particular virtualization host allocates to host the workload. The resource management policy engine may then reference the virtualization host specific mapping to communicate with the particular virtualization host to request provisioning the physical resources to the workload, wherein the request may specify the resource limits, ranges, or utilization metrics that the workload requires. The management domain associated with the virtualization host may then receive the resource provisioning request from the resource management policy engine and validate whether the virtualization host has sufficient physical hardware resources available to satisfy the resource limits, ranges, or utilization metrics that the workload requires. In response to determining that the virtualization host has available physical hardware resources that can satisfy the request, the virtualization host may then provision the resources to the workload. Alternatively, in response to the virtualization host not having available physical hardware resources sufficient to satisfy the request, the resource management policy engine (or the virtualization host) may communicate with the data center manager, orchestrator, or other suitable resource manager, which may redeploy one or more aspects or portions of the workload to another virtualization host that has sufficient available resources to satisfy the request.
Accordingly, the method 300 shown in FIG. 3 and described in further detail above may structure the managed workload to support self-provisioning following deployment to the virtualization hosts. In particular, the workload created with the techniques illustrated in FIG. 3 may have a scalable architecture that has injected intelligence and embedded policies that can be used to self-provision and self-tune physical resources allocated to the workload in cloud and virtualized data centers. As such, the scalable architecture may enhance portability for the managed workload across various cloud and virtualized data centers and control governance, risk, and compliance for the managed workload, among other things.
According to one aspect of the invention, FIG. 4 illustrates an exemplary method 400 for managing self-provisioning workloads, which may be structured and deployed in virtualized data centers with the techniques illustrated in FIG. 3 and described in further detail above. In particular, the method 400 illustrated in FIG. 4 may generally be performed in response to deploying a managed workload structured with a software stack that supports self-provisioning within the managed workload to one or more virtualization hosts (e.g., using the techniques shown in FIG. 3 and described in further detail above). For example, as noted above, structuring the managed workload with the software stack that supports self-provisioning may provide a scalable architecture that injects intelligence and embeds policies that the self-provisioning workload can generally use to request that the virtualization hosts provision or tune physical hardware resources allocated to the workload. As such, the scalable architecture may enhance portability for the managed workload across various cloud and virtualization hosts and control governance, risk, and compliance for the self-provisioning workload.
In one implementation, as noted above, the intelligence and policies that support self-provisioning within the managed workload may include resource utilization instrumentation, which may be structured in the managed workload at a lowest level. As such, in one implementation, an operation 410 may include the resource utilization instrumentation collecting or gathering information relating to utilization metrics associated with resources that the virtualization hosts (or management domains) have allocated to the managed workload. For example, operation 410 may generally include the resource utilization instrumentation monitoring the allocated resources to gather or otherwise collect the utilization metrics, which may relate to processing resources, memory resources, input/output bandwidth resources (e.g., network bandwidth, disk bandwidth, etc.), storage resources, or any other suitable resources that the virtualization hosts allocate to the managed workload. Furthermore, in one implementation, the resource utilization instrumentation that gathers the resource utilization metrics in operation 410 may include a packaged module that can be loaded with a kernel associated with the managed workload (e.g., in response to deploying the managed workload to a particular virtualization host, the kernel associated with the managed workload may load the resource utilization instrumentation into a guest operating system that runs the managed workload over the underlying physical hardware resources that the particular virtualization host allocates to the managed workload).
In one implementation, the managed workload may be further structured with a resource management policy engine at a level above the resource utilization instrumentation, wherein the resource management policy engine may receive the raw resource utilization metrics that the resource utilization instrumentation gathers from the underlying physical hardware resources in operation 410. In one implementation, an operation 420 may then include the resource management policy engine processing the raw resource utilization metrics to determine whether any action needs to be taken to tune or otherwise correct the physical resources allocated to the managed workload. For example, operation 420 may include the resource management policy engine evaluating whether the managed workload has any service level agreements or policies that define requirements associated with the resources allocated to the managed workload. Accordingly, in response to determining that the raw resource utilization metrics violate any defined service level agreements or other policies, the resource management policy engine may initiate appropriate corrective action to remedy the violations in an operation 430. Alternatively, in response to determining that the raw resource utilization metrics comply with the service level agreements or other policies associated with the managed workload, operation 420 may include the resource management policy engine determining that the virtualization host has allocated suitable physical resources to the managed workload, wherein the method 400 may return to operation 410 to continue gathering the resource utilization metrics without taking any further action at that time.
In one implementation, in response to the resource management policy engine determining that the raw resource utilization metrics violate any of the defined service level agreements or other policies, operation 430 may include the resource management policy engine enforcing the service level agreements or other policies depending on certain types or other characteristics associated with the managed workload. For example, where the managed workload provides a function that requires high availability, operation 430 may include the resource management policy engine enforcing the service level agreements or other policies to require that the processing utilization for the managed workload remain a certain threshold below capacity to ensure that the managed workload will continue to have high availability in the event that the processing utilization subsequently spikes. In another example, an operation 420 may include the resource management policy engine computing average utilization metrics over a period of prior to taking any corrective action in operation 430, or the resource management policy engine may alternatively act on instantaneous utilization metrics in operations 420 and 430, as appropriate. Moreover, in one implementation, the resource management policy engine may customize the actions taken in operation 430 based on utilization metrics associated with various different resource classes (e.g., operation 430 may include initiating certain pre-defined actions to remediate utilization violations associated with input/output bandwidth violations, while different pre-defined actions may be initiated in operation 430 to remediate utilization violations associated with storage capacity violations).
In one implementation, the managed workload may be further structured with a virtualization host specific mapping at a level above the resource management policy engine. In particular, the hypervisor that a particular virtualization host allocates to the workload may generally execute a guest operating system hosting the managed workload over the underlying physical hardware resources, whereby the hypervisor may permit various workloads to share the underlying physical hardware resources that the virtualization host allocates to the managed workload. As such, a management domain within the virtualization host typically has responsibility to provision the physical hardware resources allocated to the guest operating system hosting the managed workload, whereby the managed workload may execute the resource management policy engine in a guest virtual machine structured to communicate with the virtualization host. In particular, the resource management policy engine may be structured to communicate with the virtualization host, whereby in response to operation 420 detecting one or more policy or service level agreement violations, an operation 440 may include the resource management policy engine requesting the virtualization host to provision or tune the physical resources allocated to host the managed workload.
In one implementation, the virtualization host specific mapping may therefore isolate the resource management policy engine from any differences between interfaces associated with the different management domains used across the various virtualization hosts. For example, as described in further detail in U.S. patent application Ser. No. 12/725,241, entitled “System and Method for Intelligent Workload Management,” which has been incorporated by reference above, any particular managed workload may have various components hosted or otherwise deployed within various different virtualization hosts (e.g., the managed workload may have physical storage resources allocated in one virtualization host that has substantial storage capacity available, while the managed workload may have physical processing resources allocated in another virtualization host that has substantial processing capacity). In this context, an operation 450 may include creating one or more virtual machine configuration files that can launch the guest operating system hosting the managed workload, wherein the virtual machine configuration files created in operation 450 may specify certain limits or ranges for the physical resources to allocate to the managed workload. In one implementation, operations 420 and 430 may therefore further include the resource management policy engine referencing the virtual machine configuration files to manage the allocated physical resources within the limits or ranges specified in the virtual machine configuration files (i.e., ensuring that the allocated physical resources fall within the specified limits or ranges in operation 420, initiating corrective action in operation 430 in response to the allocated physical resources failing to comply with the specified limits or ranges, etc.).
Accordingly, in response to the physical resources allocated to the managed workload failing to comply with the limits or ranges specified in the virtual machine configuration files, or alternatively that the allocated physical resources have measured utilization metrics failing to comply with relevant service level agreements or other policies, operation 440 may include the resource management policy engine referencing the virtualization host specific mapping to communicate with a particular virtualization host that can provision or tune the physical resources allocated to the managed workload. In one implementation, the resource management policy engine may then communicate the resource provisioning request to an interface associated with the particular virtualization host, wherein the request may specify the resource limits, ranges, or utilization metrics that the workload requires. The management domain associated with the virtualization host may then receive the resource provisioning request from the resource management policy engine, and an operation 460 may include the management domain validating whether the associated virtualization host has sufficient available physical hardware resources to satisfy the resource limits, ranges, or utilization metrics that the managed workload requires. In response to determining that the virtualization host has available physical hardware resources that can satisfy the request in operation 460, the virtualization host may then provision or otherwise tune the resources allocated to the managed workload in an operation 470. Alternatively, in response to determining that the virtualization host does not have available physical hardware resources sufficient to satisfy the request in operation 460, the method 400 may return to operation 440, wherein the resource management policy engine (or the virtualization host) may communicate with a data center manager, orchestrator, or other suitable resource manager to request redeploying one or more aspects or portions of the managed workload to another virtualization host that has sufficient available resources to satisfy the request.
In one implementation, the structured software stack that supports self-provisioning within the managed workload may therefore include the resource utilization instrumentation, the resource management policy engine, and the virtualization host specific mapping, which any suitable workload generating tool or utility may package and inject into the managed workload. As such, injecting the structured software stack having the resource utilization instrumentation, the resource management policy engine, and the virtualization host specific mapping into the managed workload may support the managed workload self-provisioning following deployment to various cloud data centers, virtualized data centers, or other virtualization hosts that allocate physical hardware resources to the managed workload.
Implementations of the invention may be made in hardware, firmware, software, or various combinations thereof. The invention may also be implemented as instructions stored on a machine-readable medium, which may be read and executed using one or more processing devices. In one implementation, the machine-readable medium may include various mechanisms for storing and/or transmitting information in a form that can be read by a machine (e.g., a computing device). For example, a machine-readable storage medium may include read only memory, random access memory, magnetic disk storage media, optical storage media, flash memory devices, and other media for storing information, and a machine-readable transmission media may include forms of propagated signals, including carrier waves, infrared signals, digital signals, and other media for transmitting information. While firmware, software, routines, or instructions may be described in the above disclosure in terms of specific exemplary aspects and implementations performing certain actions, it will be apparent that such descriptions are merely for the sake of convenience and that such actions in fact result from computing devices, processing devices, processors, controllers, or other devices or machines executing the firmware, software, routines, or instructions.
Furthermore, aspects and implementations may be described in the above disclosure as including particular features, structures, or characteristics, but it will be apparent that every aspect or implementation may or may not necessarily include the particular features, structures, or characteristics. Further, where particular features, structures, or characteristics have been described in connection with a specific aspect or implementation, it will be understood that such features, structures, or characteristics may be included with other aspects or implementations, whether or not explicitly described. Thus, various changes and modifications may be made to the preceding disclosure without departing from the scope or spirit of the invention, and the specification and drawings should therefore be regarded as exemplary only, with the scope of the invention determined solely by the appended claims.

## Claims

1. A system for structuring self-provisioning workloads deployed in virtualized data centers, comprising:
a data center manager, wherein the data center manager includes one or more processors configured to deploy a workload to one or more virtualization hosts that allocate one or more physical hardware resources to the workload;
resource utilization instrumentation structured within the workload, wherein the workload structures the resource utilization instrumentation to collect utilization metrics from the one or more physical hardware resources that the one or more virtualization hosts allocate to the workload, wherein the resource utilization instrumentation includes a packaged module that a kernel associated with the workload loads into an operating system that hosts the workload;
a resource management policy engine further structured within the workload, wherein the workload structures the resource management policy engine to communicate with the one or more virtualization hosts to request tuning the physical hardware resources allocated to the workload in response to determining that the utilization metrics collected with the resource utilization instrumentation violates one or more resource utilization policies that the resource management policy engine defines to manage the workload; and
one or more virtual machine configuration files further structured within the workload to declare one or more limits or ranges for the physical hardware resources that the workload requires, wherein the resource management policy engine determines that the utilization metrics collected with the resource utilization instrumentation violates the one or more resource utilization policies in response to the collected utilization metrics failing to comply with the one or more limits or ranges declared in the virtual machine configuration files.

2. The system of claim 1, wherein the utilization metrics with the resource utilization instrumentation include one or more of processing utilization metrics, memory utilization metrics, input/output bandwidth utilization metrics, or storage utilization metrics.

3. The system of claim 1, wherein the resource management policy engine averages the collected utilization metrics over a predetermined time period to determine whether the collected utilization metrics comply with the declared limits or ranges.

4. The system of claim 1, wherein the resource management policy engine computes the collected utilization metrics instantaneously to determine whether the collected utilization metrics comply with the declared limits or ranges.

5. The system of claim 1, wherein the resource management policy engine further defines one or more actions that the resource management policy engine initiates to remediate specific classes of the physical hardware resources allocated to the workload violating the one or more resource utilization policies.

6. The system of claim 1, further comprising a virtualization host specific mapping further structured within the workload, wherein the workload further structures the resource management policy engine to reference the virtualization host specific mapping to request tuning the physical hardware resources allocated to the workload from one or more management domains associated with the one or more virtualization hosts.

7. The system of claim 6, wherein the one or more management domains associated with the one or more virtualization hosts tune the physical hardware resources that the one or more virtualization hosts allocate to the workload in response to the one or more virtualization hosts having available physical hardware resources sufficient to comply with the one or more limits or ranges declared in the one or more virtual machine configuration files.

8. A method for structuring self-provisioning workloads deployed in virtualized data centers, comprising:
deploying, by a data center manager that includes one or more processors, a workload to one or more virtualization hosts, wherein the one or more virtualization hosts allocate one or more physical hardware resources to the workload;
collecting, by resource utilization instrumentation structured within the workload, utilization metrics from the one or more physical hardware resources that the one or more virtualization hosts allocate to the workload, wherein the resource utilization instrumentation includes a packaged module that a kernel associated with the workload loads into an operating system that hosts the workload;
communicating with the one or more virtualization hosts to request tuning the physical hardware resources allocated to the workload, wherein a resource management policy engine further structured within the workload communicates with the one or more virtualization hosts to request tuning the physical hardware resources allocated to the workload in response to determining that the utilization metrics collected with the resource utilization instrumentation violates one or more resource utilization policies defined to manage the workload; and
declaring one or more limits or ranges for the physical hardware resources that the workload requires within one or more virtual machine configuration files further structured within the workload, wherein the resource management policy engine determines that the utilization metrics collected with the resource utilization instrumentation violates the one or more resource utilization policies in response to the collected utilization metrics failing to comply with the one or more limits or ranges declared in the virtual machine configuration files.

9. The method of claim 8, wherein the utilization metrics collected with the resource utilization instrumentation include one or more of processing utilization metrics, memory utilization metrics, input/output bandwidth utilization metrics, or storage utilization metrics.

10. The method of claim 8, further comprising loading the packaged module that includes the resource utilization instrumentation into the operating system that hosts the workload.

11. The method of claim 8, wherein the resource management policy engine averages the collected utilization metrics over a predetermined time period to determine whether the collected utilization metrics comply with the declared limits or ranges.

12. The method of claim 8, wherein the resource management policy engine computes the collected utilization metrics instantaneously to determine whether the collected utilization metrics comply with the declared limits or ranges.

13. The method of claim 8, wherein the resource management policy engine initiates one or more actions to remediate specific classes of the physical hardware resources allocated to the workload in response to the collected utilization metrics violating the one or more resource utilization policies.

14. The method of claim 8, further comprising structuring a virtualization host specific mapping within the workload, wherein the resource management policy engine references the virtualization host specific mapping to request tuning the physical hardware resources allocated to the workload from one or more management domains associated with the one or more virtualization hosts.

15. The method of claim 14, wherein the one or more management domains associated with the one or more virtualization hosts tune the physical hardware resources that the one or more virtualization hosts allocate to the workload in response to the one or more virtualization hosts having available physical hardware resources sufficient to comply with the one or more limits or ranges declared in the one or more virtual machine configuration files.

16. A non-transitory computer-readable storage medium containing a self-provisioning workload deployed to one or more virtualization hosts, wherein the self-provisioning workload contained in the non-transitory computer-readable storage medium comprises:
resource utilization instrumentation structured to collect utilization metrics from one or more physical hardware resources that the one or more virtualization hosts allocate to the workload;
a resource management policy engine structured to communicate with the one or more virtualization hosts to request tuning the physical hardware resources allocated to the workload in response to the utilization metrics collected with the resource utilization instrumentation violating one or more resource utilization policies defined to manage the workload; and
a virtualization host specific mapping, wherein the resource management policy engine references the virtualization host specific mapping to request tuning the physical hardware resources allocated to the workload from one or more management domains associated with the one or more virtualization hosts, wherein a packaged software stack injected into the self-provisioning workload structures the resource utilization instrumentation at a first level within the self-provisioning workload, the resource management policy engine at a second level above the resource utilization instrumentation, and the virtualization host specific mapping at a third level above the resource management policy engine.