AUTOMATED CONFIGURATION PLANNING
An Automated Configuration Management System (CMS) assists human operators with administering infrastructure elements in a data center. Configuration state information is collected and stored as a hierarchical set of features and feature attributes. Automated planning tools devise one or more candidate plans given a desired state as input.
1 . A method for automated configuration change planning in a data center comprising:
receiving information concerning a current configuration state including one or more state objects for one or more infrastructure elements, the state objects including attributes and values for the attributes; receiving a target configuration state for at least one infrastructure element in the data center including state objects for one or more infrastructure elements; and
selecting a set of actions to be taken as stored in an action library database, the selected actions, when applied to the current state, comprising a plan that will result in the desired state from the action library to reach the desired configuration state from the initial configuration state.
2 . The method of claim 1 further comprising:
executing the plan in the data center to implement the selected actions.
3 . The method of claim 1 wherein the plan required to result in a virtual machine being in the desired state comprises more than one action and a change to more than one infrastructure element.
4 . The method of claim 2 further comprising at a mid point in the step of executing the plan, scanning one or more states of the data center and comparing them to configuration states expected in the plan; and if the comparison indicates an undesirable state, then updating the plan.
5 . The method of claim 1 wherein the configuration state includes one or more configuration objects for a physical or virtual machine in the data center.
6 . The method of claim 1 wherein each of the available actions includes a cost, and the cost is considered in devising the plan.
7 . The method of claim 1 wherein the initial configuration state is determined from a running instantiation of the data center.
8 . The method of claim 1 wherein the desired configuration state corresponds to a past desirable state.
9 . The method of claim 1 wherein the plan is devised by selecting the set of actions to be taken from multiple possible sets of actions to be taken that would achieve the desired configuration state by comparing relative costs associated therewith.
10 . The method of claim 1 wherein the infrastructure elements include shared resources, and the set of actions to be taken consider resource availability.
11 . The method of claim 1 wherein actions specify desired prerequisite conditions, undesired side effects of taking the action, and/or resulting states of taking the action.
12 . The method of claim 1 further comprising presenting the plan to a user for approval before the step of executing the plan.
13 . The method of claim 1 further comprising presenting multiple plans with associated costs to a user for selection prior to the step of executing the plan.
14 . The method of claim 1 further comprising presenting a state of an executing plan to the user and altering the plan according to user input.
15 . The method of claim 1 wherein the configuration state comprises a hierarchical set of attributes for one or more infrastructure elements in the data center.
16 . A data processing apparatus for automated configuration change planning in a data center comprising:
a configuration manager system (CMS) that sends requests to infrastructure elements of the data center, and receives information concerning a current configuration state including one or more state objects for one or more infrastructure elements, the state objects including attributes and values for the attributes;
a user input interface, for:
receiving a target configuration state for at least one infrastructure element in the data center including state objects for one or more infrastructure elements; and
selecting a set of actions to be taken as stored in an action library database, the selected actions, when applied to the current state, comprising a plan that will result in the desired state from the action library to reach the desired configuration state from the initial configuration state.
17 . The apparatus of claim 16 further wherein the CMS executes the plan to implement the selected actions.
18 . The apparatus of claim 16 wherein the plan required to result in a virtual machine being in the desired state comprises more than one action and a change to more than one infrastructure element.
19 . The apparatus of claim 17 wherein
the CMS further scans one or more states of the data center and compares them to configuration states expected in the plan; and
if the comparison indicates an undesirable state, the CMS then updates the plan.
20 . The apparatus of claim 16 wherein the configuration state includes one or more configuration objects for a physical or virtual machine in the data center.
21 . The apparatus of claim 16 wherein each of the available actions includes a cost, and the cost is considered in devising the plan.
22 . The apparatus of claim 16 wherein the initial configuration state is determined from a running instantiation of the data center.
23 . The apparatus of claim 16 wherein the desired configuration state corresponds to a past desirable state.
24 . The apparatus of claim 16 wherein the CMS further devises the plan by selecting the set of actions to be taken from multiple possible sets of actions to be taken that would achieve the desired configuration state by comparing relative costs associated therewith.
25 . The apparatus of claim 16 wherein the infrastructure elements include shared resources, and the set of actions to be taken consider resource availability.
26 . The apparatus of claim 16 wherein actions specify desired prerequisite conditions, undesired side effects of taking the action, and/or resulting states of taking the action.
27 . The apparatus of claim 1 wherein the CMS further presents a state of an executing plan to the user, the user input interface accepts user input, and the CMS and alters the plan according to user input.
28 . The apparatus of claim 16 wherein the configuration state comprises a hierarchical set of attributes for one or more infrastructure elements in the data center.
29 . A programmable computer system product for automated configuration change planning in a data center, the programmable computer system product comprising one or more data processing machines that execute instructions retrieved from a storage media, the instructions for:
receiving information concerning a current configuration state including one or more state objects for one or more infrastructure elements, the state objects including attributes and values for the attributes; receiving a target configuration state for at least one infrastructure element in the data center including state objects for one or more infrastructure elements; and
selecting a set of actions to be taken as stored in an action library database, the selected actions, when applied to the current state, comprising a plan that will result in the desired state from the action library to reach the desired configuration state from the initial configuration state.