Autonomic computing
Autonomic computing is a way of building computer systems that manage themselves. People give the system high-level goals, and the system installs, tunes, repairs, and defends itself as conditions change.[1] It is a branch of self-management in computer science and a form of automation.
IBM put the idea forward in 2001. It named it after the autonomic nervous system, which controls heart rate and body temperature without conscious thought.[1] At the center of every autonomic system is a control loop. The loop watches the system, decides whether something must change, and then makes the change.[2]
Why it was proposed
The complexity problem
IBM's case was that computer systems were getting too complex for people to run. In mid-October 2001 it released a manifesto that called an approaching software complexity crisis the main obstacle to progress in the information technology (IT) industry.[1] The manifesto pointed to applications and environments of tens of millions of lines of code that need skilled professionals to install, set up, tune, and maintain.[1]
The problem grows when separate systems must work together. Joining many different environments into company-wide systems that reach into the Internet adds new levels of complexity, and Kephart and Chess wrote that this complexity "appears to be approaching the limits of human capability".[1]
The workforce forecast
The forecasts behind the idea were large. In 2001, IBM researchers predicted that by the end of the decade the IT industry would need up to 200 million workers, as many as the entire US labor force, to manage a billion people and millions of businesses using a trillion Internet-connected devices.[3] A 2010 review found that the situation had not become as extreme as expected.[3]
The basic idea
In an autonomic system, people say what they want and the system works out how to get it. Self-management is meant to free administrators from the details of running and maintaining a system.[1]
People supply policies, which are "high-level specifications of goals and constraints, typically represented as rules or utility functions".[1] A utility function here is a formula that scores how desirable each possible outcome is.
Kephart and Chess expected people to hand over control in stages:[1]
- Automated functions collect and summarize information for human administrators.
- The functions act as advisors and suggest actions for people to consider.
- As trust grows, the system makes and carries out lower-level decisions itself.
- People make fewer, mostly high-level decisions, and the system turns them into many low-level actions.
The four self-management properties
IBM describes self-management through four properties.[1][2] The table gives each property and what it means, following Kephart and Chess,[1] with an example task from IBM's architecture document.[2]
| Property | What the system does | Example task |
|---|---|---|
| Self-configuring | Sets itself up by following high-level policies. When a new part is added, the rest of the system adjusts. | Installs software when it finds that required software is missing |
| Self-healing | Finds, diagnoses, and repairs local problems in software and hardware. | Fixes a configured path so installed software can be found |
| Self-optimizing | Keeps looking for ways to improve its own performance and efficiency. | Adjusts the workload when it sees capacity rise or fall |
| Self-protecting | Defends against malicious attacks and cascading failures (failures that spread from one part to others), and uses early warnings to head off problems. | Takes resources offline when it detects an intrusion attempt |
Later authors added more properties. A 2010 review listed self-awareness, self-situation (awareness of the surroundings), self-monitoring, and self-adjustment alongside the original four.[3]
An example: a self-healing upgrade
Kephart and Chess described how an autonomic accounting system might handle a bad software upgrade.[1] Each part of the system in their example is itself autonomic.
- The upgrade installs five new software modules.
- Minutes later, regression testers find faulty output in three of them, and the system goes back to its old version at once.
- A problem-finding component gets information about which modules depend on which from a dependency analyzer.
- Using those dependencies, it reads the log files and works out which of the three modules is at fault.
- It sends a problem ticket with diagnostic details to a software developer, who fixes the module for future upgrades.
The diagnosis step could use a Bayesian network, a model that links possible causes to observed symptoms by probability.[1] The system would then match the diagnosis to known patches, install one, and test again, or alert a human programmer if no patch exists.[1]
The control loop
Every self-management function is a control loop with four steps that share a store of knowledge.[2] The loop is known as MAPE-K, from Monitor, Analyze, Plan, Execute, and Knowledge.[4] It is a kind of closed-loop control, in which the result of each action feeds back into the next decision.
- Monitor. Collect, combine, and filter details such as performance measurements from the managed resource, and turn them into symptoms that need analysis.[2]
- Analyze. Decide whether a change is needed, for example because a policy is not being met. This step may use prediction methods such as time-series forecasting and queuing models, which predict future load from past data and from how waiting lines behave. If a change is needed, it produces a change request.[2]
- Plan. Create or choose a procedure for the change, anything from a single command to a complex workflow. The result is a change plan.[2]
- Execute. Schedule and carry out the actions in the plan on the managed resource. This step may also update the stored knowledge.[2]
Knowledge, sensors, and effectors
Knowledge is the shared data that all four steps use, such as symptoms, policies, change requests, and change plans.[2] It can be handed to the manager, taken from an outside source, or created by the manager itself, for example from what the monitor step observes.[2]
The loop reaches the managed resource through two kinds of interface.[2]
- A sensor exposes information about the state of the resource and how that state changes.
- An effector lets the manager change the state of the resource.
Partial loops
A manager does not have to run all four steps itself. An administrator can set one up to do only monitoring, leaving analysis, planning, and action to people.[2] Managers that each do part of the loop can also be joined into a full loop, such as one that monitors and analyzes working with another that plans and executes.[2]
Links to control theory
Kephart and Chess suggested that methods from control theory may help, because autonomic systems face conditions that are known only while they run.[1] They expected the greatest value from distributed control theories and control theories organized in levels, which deal with many interacting controlled parts instead of a single one.[1]
Architecture
Autonomic elements
Kephart and Chess pictured an autonomic system as a collection of interacting autonomic elements.[1] Each element usually pairs one or more managed elements with a single autonomic manager that controls them. A managed element can be hardware, such as storage, a processor, or a printer, or software, such as a database or a large legacy system (an older system still in use).[1]
Interaction and emergence
Kephart and Chess expected self-management to come at least as much from the interactions between elements as from inside each one.[1] They compared this to the way an ant colony's behavior arises mostly from interactions among individual ants, a case of emergence.[1]
Elements as agents
Elements were to behave like software agents, making an autonomic system a multi-agent system.[1] Unlike ordinary web services, an element would provide a service only when doing so fits its own goals. It would also contact other elements on its own to reach its objectives.[1]
IBM's reference architecture
IBM's blueprint arranges an autonomic system in five layers.[2]
- Managed resources. Hardware or software parts such as servers, storage, databases, and applications. Some have their own built-in control loops.
- Touchpoints. Standard interfaces that provide the sensor and effector for each managed resource.
- Touchpoint autonomic managers. Managers that work directly with resources through their touchpoints, each running a loop for one of the four self-management properties.
- Orchestrating autonomic managers. Managers that coordinate other managers so that self-management works across the whole system.
- Manual manager. A common console where IT staff oversee the system.
The manual and autonomic manager layers can get and share knowledge through knowledge sources.[2] A knowledge source is a registry, dictionary, database, or other store that gives access to knowledge through the interfaces the architecture defines.[2]
Managers can also control one another. Autonomic managers expose their own sensors and effectors, so a higher manager can control a lower one in the same way that a lower manager controls a resource.[2]
Levels of autonomic maturity
IBM's Autonomic Computing Adoption Model, developed by IBM Global Services, measures how autonomic an organization's systems are.[2] It uses three dimensions: how much is automated, how widely it is applied, and which IT management processes are covered.
Degree of automation
The model defines five levels of automation.[2]
| Level | What happens |
|---|---|
| Manual | IT professionals perform the management functions. |
| Instrument and monitor | Management tools collect details from resources, so administrators spend less time gathering information. |
| Analysis | Tools link data from several resources, spot patterns, predict the best setup, and advise administrators. |
| Closed loop | The system takes actions by itself, based on the information and knowledge available. |
| Closed loop with business processes | Business policies and goals govern how the IT systems run. Users monitor business processes and change the goals. |
Scope and processes
The second dimension is the scope of what is managed, also in five levels.[2]
- Part of a resource, such as the operating system on a server
- One whole resource, such as a server
- Several resources of the same type, such as a server pool
- Several resources of different types, such as servers, storage, and routers together
- A full business system, such as a customer relationship management system
The third dimension covers IT management processes, such as change management, incident management, and problem management.[2] Different processes can reach different levels at the same time.
History
The idea came from IBM Research in 2001 and spread into a wider research field.
- March 2001. Paul Horn, IBM's senior vice president of research, introduced the idea in a keynote address at Harvard University. He chose a term with a biological meaning on purpose.[1]
- Mid-October 2001. IBM released its manifesto, "Autonomic Computing: IBM's Perspective on the State of Information Technology".[1]
- January 2003. Jeffrey Kephart and David Chess of IBM's Thomas J. Watson Research Center published "The Vision of Autonomic Computing" in the journal Computer.[1]
- June 2005. IBM published the third edition of its architectural blueprint, which describes the control loop and layered architecture in detail.[2]
- By 2010. The field had its own journals, conferences, and an IEEE Computer Society technical committee, and the Kephart and Chess paper had more than 1,100 citations on Google Scholar.[3]
Communication networks were a later addition. A 2010 review called communications "the most notable omission" from the Kephart and Chess vision.[3] Mikhail Smirnov proposed autonomic communications, building on David Clark and colleagues' call for a knowledge plane for the Internet (a proposed network layer that gathers and reasons about network-wide information), and the topic got strong support in Europe.[3] This line of work is covered in autonomic networking.
Autonomic ideas in practice
Fault-tolerant hardware
Some parts of the vision were already in use when it was proposed. Decades of work on fault tolerance had produced parts that rarely fail, such as IBM zSeries servers, with a mean time to failure (the average time a part runs before it fails) of several decades.[1] Kephart and Chess counted rarely failing as one important part of being autonomic.[1]
Kubernetes controllers
Software that runs clusters, which are groups of computers that work together, uses the same loop pattern. In Kubernetes, controllers are control loops that watch the state of a cluster and make or request changes to move its current state closer to the desired state.[5] The Kubernetes documentation compares this to a thermostat, which turns equipment on or off to bring a room to the set temperature.[5]
Autoscaling
Autoscaling, which adds or removes computing resources as the load changes, maps onto the MAPE-K steps.[4] In a 2022 analysis, Kubernetes collects measurements from running services (monitor), computes statistics from them (analyze), decides on scaling (plan), and carries out the scaling (execute).[4] The planning step may need a person to configure it first, and the authors argue that a fully autonomic approach is "not always possible or even desirable".[4]
Wider results
A 2010 review credited the field with real achievements, especially in enterprise and cloud computing, and also in communications and sensor networks.[3]
Challenges
Engineering problems
Kephart and Chess listed practical problems that autonomic systems must solve.[1]
- Testing. It is hard to predict the environment an element will run in, and it would be "virtually impossible" to build test systems as large and complex as real ones.
- Monitoring. Checks must run at every needed point without using too much bandwidth or processing power.
- Goal setting. Autonomic systems reduce human errors but greatly increase the effect of any error people make in stating goals, and goals are often complex and in conflict.
- Security. An attacker who changes high-level policies could gain far more control than in a system without self-management.
Scientific problems
The deeper problems concern how many interacting parts behave together.[1] Researchers need to understand how system-wide behavior arises from the rules of individual elements. They also need the reverse: which local rules will produce a desired global behavior.
Learning and optimization become harder when many elements adapt at once.[1] Each element's environment is mostly other adapting elements, which breaks the assumptions behind single-agent machine learning theory. There are no guarantees of convergence (learning settling on a stable result), and optimization methods that assume a steady environment have been seen to fail badly in such systems.[1]
Assessment in 2010
A 2010 review in Computer concluded that IBM's original vision "remains unfulfilled".[3] Researchers had built many autonomic solutions to single problems, but the harder task of combining them into whole autonomic systems remained.[3]
The review called for a comprehensive systems theory for adaptive systems, which had not yet emerged.[3] Such a theory would need to define what it means for a system to be correct when its behavior is expected to change over time. The review argued that systems must respond correctly to changing situations, not only be correct at a single moment.[3]
References
- The Vision of Autonomic Computing, Jeffrey O. Kephart and David M. Chess, IEEE Computer, 2003.
- An architectural blueprint for autonomic computing, third edition, IBM, 2005.
- Fulfilling the Vision of Autonomic Computing, Simon Dobson, Roy Sterritt, Paddy Nixon, and Mike Hinchey, IEEE Computer, 2010.
- A MAPE-K Approach to Autonomic Microservices, Bucchiarone et al., IEEE ICSA Companion, 2022.
- Controllers, Kubernetes documentation.
