The present invention relates to computer systems management, and more particularly, a global approach for computer systems management.
In a computer system, systems management is typically performed on a single set of homogenous resources, for example, on a tier of identical HTTP servers, a tier of identical application servers or a tier of identical database servers. As the size and heterogeneity of computer systems increases, the human effort required to coordinate the local management of these several heterogeneous subsystems to achieve a desired global behavior becomes increasingly difficult. Thus, an automated mechanism for coordinating the local management of these subsystems is required to ensure effective global management of the system as a whole.
In a large organization utilizing computers, such as, for example, enterprise computing systems, transactions may flow through many subsystems before completing. As a result, each subsystem plays a partial role in the success or failure of every transaction. Many of these subsystems have the ability to prioritize the work they receive, providing administrators with means to achieve subsystem goals. However, each individual subsystem has only a limited understanding of the system state, and moreover, their ability to prioritize work within their own domain provides only limited control of the overall system state. Thus, attainment of complete end-to-end transactional goals is difficult.
WebSphere Extended Deployment (XD), an IBM Corp. middleware system, manages parameters that affect the performance contribution by the tier that it controls, such as, for example, routing, CPU and memory allocation, and software module placement in the application tier of multi-tiered application environments. However, such a system is unable to control the other tiers, and therefore cannot contribute to the larger end-to-end response time goals for the system as a whole.
Accordingly, an improved approach of globally managing a system as a whole through coordinated local management is needed.
In accordance with the aforementioned and other objectives, the present invention is directed towards techniques for global systems management.
In accordance with one aspect of the invention a method of globally managing systems is provided. One or more measurable effects of at least one hypothetical action to achieve a management goal are determined at a first system manager. The one or more measurable effects are sent from the first system manager to a second system manager. At the second system manager, one or more procedural actions to achieve the management goal are determined in response to the one or more received measurable effects. The one or more procedural actions are executed to achieve the management goal.
In illustrative embodiments of the present invention, the first and second system managers may be on the same or different hierarchical levels. The second system manager may request the first system manager to perform the step of determining measurable effects. The request may include a query message, having at least one hypothetical action and one or more corresponding effects to be measured. Additionally, the first system manager may submit a request to a third system manager to determine one or more measurable effects of the at least one hypothetical action to achieve a management goal.
In accordance with additional aspects of the present invention, the steps of determining and sending measurable effects may be repeated for at least one additional system manager. Further, the one or more procedural actions to achieve the management goal may be displayed to an administrator, and the administrator may select at least one of the one or more procedural actions for execution.
These and other features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.
As will be illustrated in detail below, the present invention introduces techniques for global systems management through coordinated local systems management. More specifically, an embodiment of the present invention entails exchange of what-if information in response to flexible queries among two or more individual systems, neither of which may or may not fully know or control the state of the system as a whole. The embodiments of the present invention apply to many different arrangements of systems. The invention will be illustrated herein in conjunction with an exemplary system for globally managing a computer system.
Referring initially to
System manager 108 has access to controls for each of subsystem manager A 102, subsystem manager B 104, and subsystem manager C 106, such as, how subsystem A 110, subsystem B 112, and subsystem C 114 allocate memory, CPU, and other resources to different groups of requests. The controls could be low-level tuning parameter settings that entail prioritizing work, dynamically allocating shares of memory or CPU to different processes or service classes, or throttling certain classes of service requests to affect the relative rate at which work is done. Alternatively, the controls may be expressed as goals, such as response-time targets that would drive self-managing behavior of subsystem A 110, subsystem B 112 and subsystem C 114. The grouping of requests may, for example, be based upon the identity of the customer issuing the request, or may be associated with an expected quality of service, such as, for example, a response time guarantee for that group.
Each subsystem may also include lower level subsystems and lower level subsystem managers. For example, as shown in
In an embodiment of the present invention, system manager 108 requests from each of the subsystem manager A 102 and subsystem manager B 104 estimates of how changes in their control settings would affect service attributes of interest, such as, for example, throughput, response time, cost, profit, and net utility functions. For example, system manager 108 may ask subsystem manager A 102 and subsystem manager B 104, having three service classes, for estimates of the mean and variance of each service class given a proposed control setting change. Subsystem manager A 102 and subsystem manager B 104 would then send estimates to system manager 108. Upon receiving the estimates, system manager 108 may then perform a simple combinatorial optimization to identify a set of control settings for subsystem A 110 and subsystem B 112 that would maximize a global system objective, such as, for example, maximizing the likelihood that the total system response time added across the subsystems will not exceed an established threshold. System manager 108 would then set the control settings on subsystem manager A 102 and subsystem manager B 104 to this identified set of best control settings for subsystems A 110 and subsystem B 112, respectively.
Subsystem manager A 102 and subsystem manager B 104 may also send system manager 108 additional layer-specific data about the current state, such as, for example, the volume of requests, the current CPU and memory utilization, queue sizes and delays, and other system metrics. This additional information would potentially improve the ability of system manager 108 to find the optimal control settings for management of subsystem A 110 and subsystem B 112.
System manager 108 may reallocate servers from one subsystem manager to another in an effort to rebalance computing power as the workload within each subsystem fluctuates. When system manager 108 wishes to reconsider its allocation of n servers across subsystem A 110 and subsystem B 112, it sends a query to subsystem manager A 102 and subsystem manager B 104 in which a set of hypothetical actions is proposed explicitly in the query message. The hypothetical actions may consist of allocating n servers to one of the subsystem managers, for example, subsystem manager A 102, where n runs over some range that includes the current allocation. The service attribute of interest, which is described explicitly in the query message, is the expected utility that will be experienced by subsystem manager A 102 if it is granted n servers. Subsystem manager A 102 and subsystem manager B 104 compute an estimate of the value of the service attribute under each of the hypothetical actions, and send back a response to system manager 108. Each estimate computed by subsystem manager A 102 and subsystem manager B 104 is associated clearly with its pertinent hypothetical actions and service attribute. If a subsystem manager is not able to compute all of the requested estimates, it simply includes the ones it has successfully computed.
Optionally, the estimates may include indications of the degree of uncertainty in the estimates, for example, as variances or some other moments or representations of the statistical distribution of estimated outcomes. Upon receiving the estimates from subsystem manager A 102 and subsystem manager B 104, system manager 108 solves a combinatorial optimization problem in order to find the allocation that maximizes the utility summed over subsystem manager A 102 and subsystem manager B 104. Upon computing the allocations that provide the best overall utility, system manager 108 automatically takes corresponding action.
In another embodiment of the present invention, system manager 108 may display the allocations that it deems best to an administrator 124, allowing administrator 124 to select the most desirable allocation. In order to make an informed choice, administrator 124 may desire further information about the different allocation scenarios. For example, administrator 124 may request the average response times for each application according to service class. In such a case, system manager 108 can issue another query to subsystem manager A 102 and subsystem manager B 104, in which the hypothetical actions listed in the query message are the proposed allocations, and the service attributes of interest listed in the message would be the average response times rather than the utility values. Upon receiving this information from subsystem manager A 102 and subsystem manager B 104, system manager 108 may collate and display the results to administrator 124.
In accordance with another embodiment of the present invention, subsystem manager B 104, in response to a query from system manager 108, may query subsystem manager C 114 and incorporate the second query response into a response to the first query. For example, a system domain 100 which is represented as a two-tier web environment, in which subsystem A 110 is an application tier and subsystem B 112 is a database tier, with corresponding application tier manager 102 and database tier manager 104, respectively, independently optimizing their tiers. System manager 108, which understands the end-to-end system goals, could ask application tier manager 102 and database tier manager 104 a question in an effort to determine a set of changes that would best satisfy the end-to-end goals. For example, system manager 108 may query application tier manager 102 and database tier manager 104 the likely effect on tier response times of raising or diminishing the importance level of each service class by one degree from its present value.
In order to respond to the query from system manager 108, database tier manager 104, which understands the mapping of database tables to system files, may send a query to storage manager, represented as subsystem manager C 106, asking how the I/O response time for service classes would be affected if the I/O response-time target for a specific class were reduced from its present value of 2.0 seconds down to 1.0, 1.4, or 1.8 seconds. Storage manager 106 would respond with estimates of the likely impact on the I/O response times of all service classes. Taking this information into account along with the response time goals database tier manager 104 has received from system manager 108, database tier manager 104 may decide that a storage response time goal of 1.4 seconds would provide the best compromise across service classes if it were to raise the importance level for a specific class by one degree, but that 1.0 seconds would be best if the importance level of the specific class were diminished by a degree. This information would be folded into database tier manager's 104 response to the query from system manager 108, and system manager 108 would then take into account this response as well as the response from application tier manager 102 to compute a best modification of tier-specific response time goals and priorities.
Once the best modification of response-time goals and priorities for the individual tiers is determined by system manager 108, system manager 108 would convey this decision to application tier manager 102 and database tier manager 104. Storage manager 106 would then use any means at its disposal to bring about the desired result. For example, storage manager 106 may increase the amount of cache devoted to database files associated with one class, at the expense of the amount of cache allocated to other classes.
In another embodiment of the invention, system manager 108 may desire an end-to-end systems management goal of 15 ms for a group of requests. System manager 108 measures the actual response time from end-to-end. System manager 108 obtains data from subsystem manager A 102, subsystem manager B 104, and subsystem manager C 106 to determine how to adjust the subsystem-specific response-time targets to satisfy the end-to-end response time target. Next, system manager 108 queries subsystem manager A 102, subsystem manager B 104, and subsystem manager C 106 to determine the effect of allocation changes to groups of requests. Subsystem manager A 102, subsystem manager B 104 and subsystem manager C 106 respond to the queries. System manager 108 then computes the set of allocations for subsystem A 110, subsystem B 112, and subsystem C 114 that would best meet the end-to-end response time goal, and sends a request to subsystem manager A 102, subsystem manager B 104, and subsystem C 106 to update its allocation accordingly.
Referring now to
Referring now to
Referring now to
Referring now to
As shown, the computer system may be implemented in accordance with a processor 510, a memory 512, I/O devices 514, and a network interface 516, coupled via a computer bus 518 or alternate connection arrangement.
It is to be appreciated that the term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a CPU (central processing unit) and/or other processing circuitry. It is also to be understood that the term “processor” may refer to more than one processing device and that various elements associated with a processing device may be shared by other processing devices.
The term “memory” as used herein is intended to include memory associated with a processor or CPU, such as, for example, RAM, ROM, a fixed memory device (e.g., hard drive), a removable memory device (e.g., diskette), flash memory, etc.
In addition, the phrase “input/output devices” or “I/O devices” as used herein is intended to include, for example, one or more input devices (e.g., keyboard, mouse, scanner, etc.) for entering data to the processing unit, and/or one or more output devices (e.g., speaker, display, printer, etc.) for presenting results associated with the processing unit.
Still further, the phrase “network interface” as used herein is intended to include, for example, one or more transceivers to permit the computer system to communicate with another computer system via an appropriate communications protocol.
Software components including instructions or code for performing the methodologies described herein may be stored in one or more of the associated memory devices (e.g., ROM, fixed or removable memory) and, when ready to be utilized, loaded in part or in whole (e.g., into RAM) and executed by a CPU.
Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be made by one skilled in the art without departing from the scope or spirit of the invention.
This application is a continuation of pending U.S. application Ser. No. 11/486,927 filed on Jul. 14, 2006, the disclosure of which is incorporated herein by reference. U.S. application Ser. No. 11/486,927 claims the benefit of U.S. Provisional Application Ser. No. 60/699,215, filed Jul. 14, 2005, the disclosure of which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
60699215 | Jul 2005 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11486927 | Jul 2006 | US |
Child | 12133872 | US |