The present disclosure relates to computer systems, and in particular to controlling deployment of resources within a distributed computing system.
Distributed computing systems, sometimes also referred to as cloud computing systems, are used to provide services to electronic devices which may be operated by end users. In a cloud computing system, the physical host machine architecture is hidden from the end user. The physical host machines can include servers, network storage devices, computing devices, network routers, network gateways, wireless/wired network interface devices, etc. However, because services are deployed on a physical host machine architecture which is hidden from end users, it can be managed, upgraded, replaced or otherwise changed by a system administrator (operator) without the end users being aware of or affected by the change.
In existing cloud and other distributed computing systems, the creator of services or the operator of the cloud system must know in advance which applications (or types of applications) will be deployed and estimate the number and types of physical host machines that need to be deployed in the cloud system to support processing of the applications. The capacity of the distributed computer system can be changed by increasing or decreasing the number or types of physical host machines. During operation, a load balancer can operate to direct requests from user electronic devices to particular ones of the physical host machines for processing by associated applications. Although load balancers can provide better balancing of system utilization, they may not sufficiently improve the efficiency at which physical host machines are deployed and used, which may have a substantial effect on cost in view of the potential large number of physical host machines and applications that can be deployed in some distributed computer systems.
Some embodiments disclosed herein are directed to a resource management node having a processor and memory coupled to the processor. The memory includes computer readable program code that when executed by the processor causes the processor to perform operations. The operations include, for each of a plurality of guest virtual machines (VMs), determining operational resources of physical host machines available in a distributed computing system that are needed to provide the guest VM. The operations further include determining an amount of infrastructure of a distributed computing system used by a defined placement of physical host machines in racks of the distributed computing system.
In some further embodiments, a recursive determination is performed for an amount of infrastructure of the distributed computing system used by a plurality of different placements of the physical host machines in cabinets of the distributed computing system to identify one of the plurality of different placements of the physical host machines in the cabinets that satisfies a defined rule for how much infrastructure of the distributed computing system is used. A further recursive determination can be performed for an amount of infrastructure of the distributed computing system used by a plurality of different placements of the guest VMs on the physical host machines to identify one of the plurality of different placements of the guest VMs on the physical host machines that satisfies the defined rule for how much infrastructure of the distributed computing system is used.
The defined rule may relate to how much electrical power capacity of the cabinets is allowed to be used, how much cooling capacity of the cabinets is allowed to be used, how much physical rack storage space of the cabinets is allowed to be used, and/or which guest VMs are not allowed to be hosted on physical host machines located in a same cabinet.
Some other embodiments are directed to a method of operating a resource management node that includes, for each of a plurality of guest VMs, determining operational resources of physical host machines available in a distributed computing system that are needed to provide the guest VM. The method further includes determining an amount of infrastructure of a distributed computing system used by a defined placement of physical host machines in racks of the distributed computing system.
Some other embodiments are directed to a computer program product that includes a computer readable storage medium having computer readable program code embodied in the medium that when executed by a processor of a computer system causes the computer system to perform operations. The operations include, for each of a plurality of guest VMs, determining operational resources of physical host machines available in a distributed computing system that are needed to provide the guest VM. The operations further include determining an amount of infrastructure of a distributed computing system used by a defined placement of physical host machines in racks of the distributed computing system.
Related methods of operating a resource management node are disclosed. It is noted that aspects described with respect to one embodiment may be incorporated in different embodiments although not specifically described relative thereto. That is, all embodiments and/or features of any embodiments can be combined in any way and/or combination. Moreover, other resource management nodes, distributed computing systems, methods, and/or computer program products according to embodiments will be or become apparent to one with skill in the art upon review of the following drawings and detailed description. It is intended that all such additional resource management nodes, distributed computing systems, methods, and/or computer program products be included within this description and protected by the accompanying claims.
Aspects of the present disclosure are illustrated by way of example and are not limited by the accompanying drawings. In the drawings:
In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention. It is intended that all embodiments disclosed herein can be implemented separately or combined in any way and/or combination.
The data servers and associated network communication devices are example physical host machines of the data center 10. The data servers perform computer operations that provide a plurality of guest virtual machines (VMs) within a plurality of VM clusters. Each VM cluster can include a plurality of guest VMs, and each VM cluster can reside on different data servers or may be distributed across more than one data server. For each of the guest VMs, the resource management node determines a productivity metric for the guest VM based on resources of the data server that are used by the guest VM. Moreover, for each of the guest VMs, the resource management node determines based on the productivity metric an infrastructure value that indicates an amount of infrastructure of the data center 10 attributed to providing the guest VM.
In some further embodiments, the resource management node repeats these operations for each of the VM clusters. The infrastructure value may be determined based on electrical power consumption by the physical host machine which is attributed to providing the guest VM. The infrastructure value may additionally or alternatively be determined based on physical rack storage space of the distributed computing system occupied by the physical host machine which is attributed to providing the guest VM.
The resource management node can display reports that indicate which VM clusters are determined to satisfy rules for being productive versus unproductive. The reports may alternatively or additionally indicate which VM clusters are consuming excessive electrical power, physical rack storage space, and/or other resources of the data center 10 relative to being productive versus unproductive.
In
A pictorial illustration of the data center 10 may also be displayed. The resource management node may display graphical alarm indications 34a and 34b at particular locations of the racks where the data center operator may want to remove or replace one of the server devices based on information provided by the resource management node according to one or more embodiments disclosed herein.
These and other operations are explained in further detail below after the following explanation of an example resource node and distributed computing system in which the operations may be performed.
The physical host machine 114 may include, without limitation, network content servers (e.g., Internet website servers, movie/television programming streaming servers, application program servers), network storage devices (e.g., cloud data storage servers), network data routers, network gateways, communication interfaces, program code processors, data memories, display devices, and/or peripheral devices. The physical host machine 114 may include computer resources such as: processor(s) 116 (e.g., central processing unit, CPU); network interface(s) 118; memory device(s) 120; data mass storage device(s) 122 (e.g., disk drives, solid state nonvolatile memory, etc.); etc. The processor(s) 116 is configured to execute computer program code from the memory device(s) 120, described below as a computer readable storage medium, to perform at least some of the operations disclosed herein.
Besides acting as a host for computing applications 106 and 108 that run on the physical host machine 114, the host operating system 112 may operate at the highest priority level of the resource node 100, executing instructions associated with the physical host machine 114, and it may have exclusive privileged access to the physical host machine 114. The host operating system 112 creates an environment for implementing the VM cluster 101 which hosts the guest VMs 104. One host operating system 112 is capable of implementing multiple independently operating VM clusters 101 simultaneously.
The virtual hypervisor 110 (which may also be known as a virtual machine monitor or VMM) runs on the host operating system 112 and provides an interface between the VM clusters 101 and the physical host machine 114 through the host operating system 112. The virtual hypervisor 110 virtualizes the computer system resources and facilitates the operation of the host guest VMs 104 and associated VM cluster 101. The virtual hypervisor 110 may provide the illusion of operating at a highest priority level to the guest operating system 130. However, the virtual hypervisor 110 can map the guest operating system's priority level to a priority level lower than a top most priority level. As a result, the virtual hypervisor 110 can intercept the guest operating system 130 operations, and execute instructions that require virtualization assistance. Alternatively, the virtual hypervisor 110 may indirectly emulate or directly execute the instructions on behalf of the guest operating system 130. Software steps permitting indirect interaction between the guest operating system 130 and the physical host machine 114 can also be performed by the virtual hypervisor 110.
The VMs 104 present a virtualized environment to the guest operating systems 130, which in turn provide an operating environment for the applications 106 and 108, and other software constructs.
The resource management node 150 may operate to distribute individual requests that are received from the electronic devices 170a-n to particular ones of the resource nodes 100 selected for processing. The resource management node 150 may select among the resource nodes 100 and/or applications hosted on VM clusters 101 of the resource nodes 100 for distributing individual requests responsive to the present loading of the resource nodes 110 and/or the VM clusters 101. The loading may be determined based on the amount of processing resources, volatile memory resources, non-volatile mass storage resources, communication resources, and/or application resources that are utilized to process the requests. The resource management node 150 may, for example, operate to distribute the requests responsive to comparison of the relative loading characteristics of the resource nodes 100. The resource management node 150 may attempt to obtain a more balanced loading across the resource nodes 100 to avoid one of the resource nodes 100 operating at more than a threshold loading above other ones of the resource nodes 100.
The processor 400 may include one or more data processing circuits, such as a general purpose and/or special purpose processor (e.g., microprocessor and/or digital signal processor) that may be collocated or distributed across one or more networks. The processor 400 is configured to execute program code 412 in the memory 410, described below as a computer readable medium, to perform some or all of the operations for one or more of the embodiments disclosed herein.
As explained above, a distributed computing system (e.g., data center) can include hundreds or thousands of physical host machines (e.g., data servers). The physical host machines perform computer operations that provide a plurality of guest VMs within a plurality of VM clusters. Each VM cluster can include a plurality of guest VMs.
Referring to
The infrastructure value may be determined based on electrical power consumption by the physical host machine which is attributed to providing the guest VM. The infrastructure value may additionally or alternatively be determined based on physical rack storage space of the distributed computing system occupied by the physical host machine which is attributed to providing the guest VM. Other infrastructure of the distributed computing system that can be attributed to being used to provide the guest VM can include one or more of: cooling system utilization, processing throughput, memory utilization, nonvolatile mass data storage utilization, communication input/output utilization, and application resource utilization (e.g., what types and how many applications programs).
The resource management node 150 may determine (block 500) the productivity metric for a guest VM by, for example, determining the processor loading created by the guest VM, determining an amount of memory used by or allocated to the guest VM, determining an amount of nonvolatile mass data storage that is used by or allocated to the guest VM, determining communication input/output bandwidth used by the guest VM, and/or a number of applications that are used by the guest VM.
The resource management node 150 may determine (block 502) the infrastructure value that indicates an amount of infrastructure of the distributed computing system attributed to providing the guest VM by, for example, determining an amount of electrical power consumed by the physical host machine to provide the guest VM, determining physical rack storage space occupied by the physical host machine to provide the guest VM, determining cooling system resources of a distributed computing system that are used by the physical host machine to provide the guest VM, determining communication bandwidth resources of a distributed computing system that are used by the physical host machine to provide the guest VM, determining data storage resources of a distributed computing system that are used by the physical host machine to provide the guest VM etc.
Determining the physical rack storage space, the electrical power consumption, and/or the cooling metric can be based on known relationships between the physical host machine and defined infrastructure characteristics that are known or observed to be consumed by the physical host machine operating at different loading. The relationships may be specified by manufacturers and/or operators, calculated, and/or developed by data collection processes that can include monitoring effects that different observed guest VM loading and/or VM cluster loading have on the infrastructure requirements of a distributed computing system, such as the electrical power consumption, cooling metrics, and/or physical rack storage space use by the physical host machines to provide processing and other resources for the guest VMs and/or VM clusters. A Data Center Infrastructure Management™ (DCIM) tool by CA Technologies may be used to provide information used by the relationships to determine the infrastructure attributed to providing a guest VM.
In one embodiment, the infrastructure attributed to operation of a physical machine is determined. The determined infrastructure is then proportionally attributed to each of the guest VMs hosted by the physical machine based on the relative utilization of the physical machine's resources by respective ones of the guest VMs. For example, when four guest VMs each use 10% of a physical machine resource and a fifth guest VM uses 60% of the physical machine resource, then the infrastructure used (power, cooling, space, etc.) by the physical machine can be attributed 10% to each of the four guest VMs and attributed 60% to the fifth guest VM. The physical machine resource utilization may be determined based on any defined resources of the physical machine that can be used by a guest VM including, but not limited to, processor utilization, memory utilization, network interface utilization, disk input/output utilization, and/or a combination thereof.
When determining the relative utilization, the physical machine resource used by overhead system services (e.g., host operating system, data archiving applications, virus scanning applications, physical device manager applications, display applications, etc.) may be included or excluded from the calculation. Excluding physical machine resources used by overhead system services may enable more accurately determination of how much infrastructure is needed to support the guest VMs (e.g., how much user directed work is done by a physical machine and how much associated infrastructure is used to support that work),
For example, electrical power consumption and/or cooling loading by a physical machine may be defined by a manufacturer and/or operator, and/or measured during operation of the physical machine under various resource loading scenarios (e.g., processor utilization, memory utilization, network interface utilization, disk input/output utilization, and/or a combination thereof). The resource loading scenarios may be defined to exhibit known characteristics of defined types of guest VMs.
Referring again to
The resource management node can display reports that indicate which VM clusters are determined to satisfy rules for being productive versus unproductive. The reports may alternatively or additionally indicate which VM clusters are consuming excessive electrical power, physical rack storage space, and/or other resources of the data center 10 relative to being productive versus unproductive. Example reports are shown in
In one embodiment, a time window over which the productivity metric is measured may be adjusted/controlled based on how quickly physical host machines can be started up (e.g. brought on-line from an idle state or booted-up from a power-off state to be available to provide VMs to provide services to electronic devices 170) and/or shut-down. Referring to
Thus, for example, it may be desirable to avoid presenting information that could cause the resource management node and/or a system operator (human) to make guest VM, physical machine, and/or other management decisions based on short duration or momentary changes occurring in productivity metrics for physical host machines that have a slower start-up time. So, slower startup times may cause the resource management node 150 to use corresponding longer elapsed times over which the productivity metrics are measured.
Similarly, it may be desirable to avoid presenting information that could cause the resource management node and/or a system operator to make guest VM, physical machine, and/or other management decisions based on short duration or momentary changes occurring in productivity metrics for physical host machines having rapidly changing numbers of guest VMs provided within a VM cluster. For example, the rapid increase in the number of guest VMs may be an indication of an anticipated near-term rapid increase in loading of the physical host machine, which may be beneficial for a system operator to know. So, observation of greater changes in the number of guest VMs provided within a VM cluster may cause the resource management node 150 to use corresponding shorter elapsed times over which the productivity metrics are measured.
In some further optional embodiments, the resource management node 152 determines for each VM cluster the amount of infrastructure of the distributed computing system 300 being used by the VM cluster (e.g., electrical power, rack space, cooling, communication bandwidth, data storage, etc.), and can display information to a system operator to enable improved infrastructure consumption management and deployment of VM guests to VM clusters and VM clusters to physical host machines.
In some embodiments, guest VMs of a VM cluster are sorted between productive and unproductive lists. The infrastructure used by each of the VM clusters is determined for each of the productive and unproductive lists of associated guest VMs.
Referring to
When a guest VM is determined to be productive, a productivity metric is determined (block 802) for the guest VM based on resources of the physical host machine that are used by the guest VM. The productivity metric may be determined based on processor utilization, memory utilization, nonvolatile mass data storage utilization, communication input/output interface device utilization, and/or application resource utilization. The resource management node 150 may receive and use utilization information from a Capacity Management (CAPMAN) tool by CA Technologies. The utilization information can be a time series stream of utilization values that are observed for defined resources, and may have time stamps associated therewith to allow averaging or other combining operations over defined time periods. The productivity metric may be determined over a time period that is defined based on the user defined setting (e.g., defined number of minutes, days, etc.), characteristics of the physical host machine, and/or rate of change in resource utilization.
In one embodiment, the time period over which the productivity metric is measured may be adjusted/controlled based on how quickly physical host machines can be started up (e.g. brought on-line from an idle state or booted-up from a power-off state to be available to provide VMs to provide services to electronic devices 170). Slower startup times may cause the resource management node 150 to use corresponding longer time periods over which the productivity metric is measured.
In another embodiment, the time period over which the productivity metric is measured may be adjusted/controlled based on how quickly the numbers of guest VMs provided within a VM cluster is changing. So, observation of greater changes in the number of guest VMs provided within a VM cluster may cause the resource management node 150 to use corresponding shorter time periods over which the productivity metric is measured.
A determination (block 804) is made whether the productivity metric for a guest VM satisfies a threshold value. When the productivity metric for a guest VM satisfies the threshold value (e.g., the guest VM consumes more than a threshold amount of resources of the physical host machine), the guest VM is added (block 806) to a listing of productive members of the guest VMs of a VM cluster. The productive infrastructure usage value(s) (e.g., physical rack storage space, electrical power consumption, and/or cooling metric) used by the physical host machine which is attributed to providing the guest VM is determined (block 808), For example, each different type of infrastructure parameters can have a separate productive infrastructure usage value (e.g., physical rack storage space usage value, power consumption usage value (e.g., average power (kW) or total energy (kWh), and/or cooling metric usage value (British thermal unit, etc.)). The resource management node 150 may determine the productive infrastructure usage value(s) for a guest VM based on infrastructure usage information provided by a Data Center Infrastructure Management™ (DCIM) tool by CA Technologies. The productive infrastructure usage value(s) is combined (block 810) with other productive infrastructure values determined for the VM cluster (which includes the guest VM) over a defined time window (e.g., averaged over the defined time window).
In contrast, when a guest VM is determined (block 800) to be unproductive or when a productivity metric for a guest VM is determined (block 804) to not satisfy the threshold value (e.g., the guest VM consumes less than a threshold amount of resources of the physical host machine), the guest VM is added (block 812) to a listing of unproductive members of the guest VMs of a VM cluster. The unproductive infrastructure usage value(s) (e.g., physical rack storage space, electrical power consumption, and/or cooling metric) used by the physical host machine which is attributed to providing the guest VM is determined (block 814). The resource management node 150 may determine the unproductive infrastructure usage value(s) for a guest VM based on information provided by the DCIM tool. The unproductive infrastructure usage value(s) is combined (block 810) with other unproductive infrastructure values determined for the VM cluster (which includes the guest VM) over a defined time window (e.g., averaged over a defined time window).
The time window may be adjusted/controlled based on an operator defined setting, how quickly physical host machines can be started up or shut-down, and/or based on how quickly the numbers of guest VMs provided within a VM cluster is changing.
The operations of blocks 800-816 can be repeated for each guest VM in each of the VM clusters. The productive infrastructure usage values and the unproductive infrastructure usage values can be displayed (block 820) for each of the clusters.
Other information that may be displayed can include, alert notifications 904a-904g which notify an operator when one or more of the VM clusters 902a-902g is using too much or too little infrastructure. In
The resource management node 150 may respond to detecting the alarm conditions with VM Cluster_4902d and VM Cluster_6902f by displaying indicia 908 and 910 which can be selected by a system operator to initiate actions to further analyze and/or remedy the alarm conditions with VM Cluster_4902d and VM Cluster_6902f.
Other information that can be displayed can include a graph 920 showing the relative amount of infrastructure of the distributed computing system 300 that is being used by unproductive guest VMs and productive guest VMs of each of the VM clusters 902a-902g. In the example of
A system operator and/or the resource management node may determine from the information displayed by the graph 920 that VM Cluster 6 is consuming substantially more electrical power to provide unproductive guest VMs relative to what it consumes to provide productive guest VMs. The system operator and/or the resource management node may therefore perform operations to shift the 11 productive guest VMs from VM cluster 6 to other VM clusters, such as VM clusters 4, 5 and 8 which also are determined to be consuming substantially more power for purposes of providing unproductive guest VMs then for productive guest VMs.
Alternatively or additionally, the system operator and/or the resource management node may perform operations to terminate operation or reschedule operation for a later time for at least some of the unproductive guest VMs on one or more of the VM clusters 4-7 which are consuming disproportionate amounts of electrical power relative to their usefulness with supporting operation of the productive guest VMs in their respective VM clusters. Thus for example, guest VMs providing data archiving applications and/or virus scanning that consume substantial electrical power because of their associated disk bandwidth disk input/output operations and processing operations can be terminated or reschedule for later operation to provide a more efficient balance of power consumption, cooling utilization, and/or other infrastructure utilization between the productive and unproductive guest VMs for those VM clusters.
The excessive power consumption of the nonproductive guest VMs of one or more of VM clusters 4-7 may indicate the VM cluster is having operational problems and should be restarted and/or that the associated physical host machine 114 providing the VM cluster is having operational problems and should be restarted, shut-down, or replaced. A system operation and/or the resource management node may thereby be informed of problems before they result in software and/or hardware failure.
Referring to
The resource management node can access (block 1104) a repository of available resources that can identify physical host machines, attributes of the physical host machines, available cabinets, and attributes of the cabinets.
The attributes of the physical host machines may include electrical power consumption, cooling consumption, physical rack storage space, weight, processing capacity, memory capacity, nonvolatile mass data storage capacity, communication input/output capacity, available application resource (e.g., what types and how many applications programs), and other resources that can be used/consumed to host the guest VMs. The attributes may be defined by an operator or manufacturer, and/or may be determined based on measurements during operation of the physical host machines. For physical host machines that are already installed in the cabinets, the attributes may indicate the remaining resources that are presently available for hosting guest VMs. In contrast, for physical host machines that not yet installed the cabinets, the attributes may indicate manufacturer/operator defined resources or earlier measured attributes of resources that are available for hosting guest VMs. Some attributes of the physical host machines may be determined based on information provided by a Data Center Infrastructure Management™ (DCIM) tool by CA Technologies.
The attributes of the cabinets may include total capacity for supplying electrical power (e.g., circuit breaker capacity) and/or remaining available capacity for supplying electrical power in view of presently installed physical host machines (e.g., identify particular circuit breakers having identified remaining capacity), total cooling capacity and/or remaining available cooling capacity for providing cooling to physical host machines, total weight capacity and/or remaining available weight capacity for supporting physical host machines on racks, total physical storage spaces (e.g., defined unit-spaces “U-spaces”) and/or remaining physical storage spaces for installation of physical host machines, configuration and characteristics of physical storage spaces, and other capacities of the cabinets usable by physical host machines. Some attributes of the cabinets may be determined based on information provided by the DCIM tool by CA Technologies.
The resource management node uses the attributes of the physical host machines and the attributes of the cabinets to generate (block 1102) a VM resource utilization data set that identifies estimates of physical host machine resource utilization that is needed to operate each of the guest VMs and/or clusters of VMs. The data set can include, for example, electrical power, cooling, physical rack storage space, weight, processing, memory, nonvolatile mass data storage, communication input/output, application resource (e.g., what types and how many applications programs), and other resources that each of the guest VMs or clusters of guest VMs are estimated to utilize (e.g., consume, occupy, etc) when operating and/or available for operation. The attributes may further include estimated costs for installing and setting-up physical host machines (e.g., acquisition costs and/or human operator time costs), estimated time delay until physical host machines can be installed (e.g., based on available work schedule of human operator), estimated time delay for physical host machines to be started-up to become operational after installation, and/or estimated operational costs of physical host machines. The resource management node may obtain some of the information used to generate the data set from the DCIM tool and/or a Capacity Management™ (CAPMAN) tool by CA Technologies.
Estimation of the physical host machine resource utilization needed to operate each of the guest VMs and/or clusters of VMs can be based on known relationships between the guest VMs and/or clusters of VMs and known and/or observed resources of the physical host machines that are consumed for their host. For example, video encoding applications can have greater defined resource utilization than word processing applications because of their defined/observed higher processor workload and data storage device input/output bandwidth requirements. The relationships may be developed by data collection processes that can include monitoring effects that different observed guest VM loading and/or VM cluster loading has on the resources and infrastructure requirements of the physical host machines, such as the electrical power consumption, cooling, and/or physical rack storage space use by the physical host machines to provide processing and other resources for the guest VMs and/or VM clusters. The guest VMs may be characterized based on the particular application programs and/or operational functionality they are performing or will be performing.
The resource management node can access (block 1108) a repository of rules defining constraints on the infrastructure of the distributed computing system (e.g., resources of the cabinets and physical host machines) that can be used to host the guest VMs. The rules may include, but are not limited to, defining one or more of the following:
1) allowed electrical power capacity of the cabinets to be consumed (e.g., defined margin below the maximum electrical power capacity of the cabinet or rack therein);
2) allowed cooling capacity of the cabinets to be consumed (e.g., defined margin below the maximum cooling capability of the cabinet or rack therein);
3) allowed occupation of physical storage locations in racks of cabinets (e.g., defined margin below the available storage locations);
4) identification of particular guest VMs that are not allowed to be hosted on the same physical host machine, located on the same cabinet rack, located in the same cabinet, and/or located in the same data center facility (e.g., to provide greater fault tolerance in case of failure of cabinet resources, to provide increased security isolation between datasets used by VMs, etc);
5) weight capacity of the cabinets allowed to be used (e.g., defined margin below the maximum weight support capacity of cabinets);
6) identification of cabinets and/or storage space locations allowed to be populated with physical host machines;
7) minimum/maximum allowable contiguous physical storage locations allowed to be used by physical host machines; and
8) other.
The resource management node selects (block 1106) one or more of the rules based on operator input, an algorithm, and/or a defined selection rule. The rule(s) may be selected to, for example, minimize power consumption, minimize storage space utilization in defined cabinet rack locations or more generally anywhere in one of more defined cabinets (e.g., minimize used U-space, minimize contiguous U-space to spread out heat dissipation within a cabinet/rack), minimize cooling consumption, minimize hardware cost, minimize software application cost, minimize operating and/or maintenance costs, minimize use of defined types of physical host machines, minimize use of defined type/class of cabinet rack, increase reliability (e.g., high availability policy(ies)), and/or increase operational performance (e.g., processing bandwidth and responsiveness) of guest VMs.
The resource management node generates (block 1110) a placement scenario for placing guest VMs on the physical host machines and placement of the physical host machines in the cabinets of the data center or other distributed computing system. The placement scenario may include installing defined physical host machines (e.g., which are presently located in any of the cabinets) and/or relocating defined physical host machines (e.g., which are presently located in any of the cabinets) to defined locations in the cabinets, and installing new guest VMs and/or relocating defined guest VMs to defined ones of the physical host machines. The placement scenario may additionally include reconfiguring existing physical host machines to provide different resources for hosting some of the guest VMs.
How much infrastructure of the data center or other distributed computing system is used by the placement scenario is determined (block 1112). The determination (block 1112) may include repeating some of the estimation processes described above (block 1102) but now directed to the placement scenario for how guest VMs are proposed to be mapped to physical host machines and how physical host machines are proposed to mapped to cabinets.
A decision (block 1114) is made whether the placement scenario for placing guest VMs on the physical host machines and placement of the physical host machines in the cabinets of the data center or other distributed computing system satisfies the selected rule(s). If the selected rule(s) was not satisfied, the operations of blocks 1110-1114 are recursively repeated to generate (block 1110) another placement scenario, determine (block 1112) an amount of infrastructure of the data center or other distributed computing system used by the placement scenario, and determine whether the selected rule(s) is satisfied or another rule for terminating the recursive process is satisfied.
When the selected rule is satisfied or the recursive process is otherwise terminated, the placement scenario is communicated (block 1116) to a work order generation tool to generate a work order that lists physical host machines to be installed or relocated to, and/or decommissioned (e.g., removed) from, defined locations in the cabinets and lists guest VMs to be installed or relocated to, and/or decommissioned (e.g., removed) from, defined physical host machines. The work order may be physically carried out by a human operator and/or may be at least partially carried out by automated computer processes to install and/or relocate guest VMs and/or to decommission physical host machines (e.g., shut-down, trigger lower-power idle state, etc.).
After completion of the work order, a repository of system information (e.g., the resource parameter repository 154) may be automatically updated (e.g., by the automated computer processes) and/or manually updated by a human operator with information that identifies the new system configuration. The information may, for example, identify the guest VMs, identify which physical host machines are hosting the guest VMs, and/or identify which physical host machines reside in which of the cabinets and/or racks,
Moreover, the resource management node estimates that implementation of the conservative placement model will result in infrastructure savings in the distributed computing system of 1.4 kW of electrical power, savings of 3 physical rack storage spaces (U-space), 34 percent increase in circuit breaker capacity, and $1226 savings per year in energy costs.
A user may select a user selectable indicia 1212 to trigger the conservative placement model operations to generate a placement scenario and determine the utilization and infrastructure savings that may be obtained by performing the conservative placement model. A user may alternatively select another user selectable indicia 1214 to trigger execution of an aggressive placement model (e.g., selected rules that seek to maximize infrastructure savings with less regard to minimizing changes to the cabinets), which can generate a placement scenario that performs greater changes to the cabinets including placement of new guest VMs on physical host machines already installed in the cabinets, relocation of other guest VMs to other physical host machines installed in the cabinets, and installation of new physical host machines and installation of guest VMs thereon.
A user may select another user selectable indicia 1210 to define other rules (e.g., block 1106 in
As explained above, when an acceptable placement scenario is identified, the placement scenario can be communicated (block 1116 in
The resource management node measured or otherwise determined (e.g., based on attributes defined in the repository 1104) that the server cabinet has been supplying 8 amps of current to the physical host machines, supporting 520 pounds of physical host machines, and providing 6000 BTU/hr of heat dissipation to the physical host machines before implementation of the guest VM and physical host machine placement scenario. The resource management node has also estimated that implementation of the guest VM and physical host machine placement scenario would cause the server cabinet to supply 16 amps of current to the physical host machines, support 670 pounds of physical host machines, and provide 10000 BTU/hr of heat dissipation to the physical host machines.
Accordingly, the example placement scenario of
Referring to
Referring to
The operations for determining an amount of infrastructure used by different placements can include looking at how much power, cooling, and/or storage space would be used. For example, referring to
In the above-description of various embodiments of the present disclosure, aspects of the present disclosure may be illustrated and described herein in any of a number of patentable classes or contexts including any new and useful process, machine, manufacture, or composition of matter, or any new and useful improvement thereof. Accordingly, aspects of the present disclosure may be implemented in entirely hardware, entirely software (including firmware, resident software, micro-code, etc.) or combining software and hardware implementation that may all generally be referred to herein as a “circuit,” “module,” “component,” or “system.” Furthermore, aspects of the present disclosure may take the form of a computer program product comprising one or more computer readable media having computer readable program code embodied thereon.
Any combination of one or more computer readable media may be used. The computer readable media may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an appropriate optical fiber with a repeater, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable signal medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python or the like, conventional procedural programming languages, such as the “C” programming language, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy, or other programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider) or in a cloud computing environment or offered as a service such as a Software as a Service (SaaS).
Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable instruction execution apparatus, create a mechanism for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that when executed can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions when stored in the computer readable medium produce an article of manufacture including instructions which when executed, cause a computer to implement the function/act specified in the flowchart and/or block diagram block or blocks. The computer program instructions may also be loaded onto a computer, other programmable instruction execution apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatuses or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of this specification and the relevant art and will not be interpreted in an idealized or overly formal sense expressly so defined herein.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various aspects of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular aspects only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. Like reference numbers signify like elements throughout the description of the figures.
The corresponding structures, materials, acts, and equivalents of any means or step plus function elements in the claims below are intended to include any disclosed structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosure. The aspects of the disclosure herein were chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure with various modifications as are suited to the particular use contemplated.