System and method for performing batch configuration changes
First Claim
1. A method for performing a set of configuration changes to a set of servers in a transaction based change process, comprising the steps of:
- a) receiving a set of changes to a configuration;
b) creating a configuration file update including the set of changes;
c) distributing the configuration file update to a select set of servers, wherein the select set of servers includes two or more servers;
d) determining whether to apply the set of changes to the select set of servers, wherein each server that receives the configuration file update performs the steps ofreading the set of changes into a managed bean, wherein the managed bean also contains configuration information of the server where the managed bean resides,comparing the configuration file update to the configuration information of the server,storing any differences between the configuration file update and the configuration information in a list of events, anddetermining whether the server is able to accept the set of changes, wherein the set of changes are acceptable if applying the differences stored in the list of events does not cause the server to enter into an error state;
e) receiving responses from each server in the select set of servers as to whether the servers are able to accept the set of changes;
f) activating the set of changes on the select set of servers if the responses from the select set of servers indicate that all of the select set of servers are able to accept the set of changes; and
g) generating a further set of changes and repeating steps c, d, e, and f if the responses from the select set of servers indicate that at least one of the select set of servers is not able to accept the set of changes.
2 Assignments
0 Petitions
Accused Products
Abstract
In embodiments, the present invention provides mechanisms and methods for making a plurality of configuration changes to a set of servers comprised of an administration server and one or more managed servers. These mechanisms and methods can enable a number of changes to be made to the configuration at once, i.e., in a batch. The ability of an administrator to make a number of changes to the configuration, validate the changes and then persist the changes to the servers is termed a “transaction based” change process. In such transaction based processing, embodiments process changes in batches, which enables embodiments to avoid failures in configuration changes that result in the machines being in a non-recoverable or unknown configuration state.
109 Citations
19 Claims
-
1. A method for performing a set of configuration changes to a set of servers in a transaction based change process, comprising the steps of:
-
a) receiving a set of changes to a configuration; b) creating a configuration file update including the set of changes; c) distributing the configuration file update to a select set of servers, wherein the select set of servers includes two or more servers; d) determining whether to apply the set of changes to the select set of servers, wherein each server that receives the configuration file update performs the steps of reading the set of changes into a managed bean, wherein the managed bean also contains configuration information of the server where the managed bean resides, comparing the configuration file update to the configuration information of the server, storing any differences between the configuration file update and the configuration information in a list of events, and determining whether the server is able to accept the set of changes, wherein the set of changes are acceptable if applying the differences stored in the list of events does not cause the server to enter into an error state; e) receiving responses from each server in the select set of servers as to whether the servers are able to accept the set of changes; f) activating the set of changes on the select set of servers if the responses from the select set of servers indicate that all of the select set of servers are able to accept the set of changes; and g) generating a further set of changes and repeating steps c, d, e, and f if the responses from the select set of servers indicate that at least one of the select set of servers is not able to accept the set of changes. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-readable storage medium storing one or more sequences of instructions for performing a set of configuration changes to a set of servers in a transaction based change process, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
a) receiving a set of changes to a configuration; b) creating a configuration file update including the set of changes; c) distributing the configuration file update to a select set of servers, wherein the select set of servers includes two or more servers; d) determining whether to apply the set of changes to the select set of servers, wherein each server that receives the configuration file update performs the steps of reading the set of changes into a managed bean, wherein the managed bean also contains configuration information of the server where the managed bean resides, comparing the configuration file update to the configuration information of the server, storing any differences between the configuration file update and the configuration information in a list of events, and determining whether the server is able to accept the set of changes, wherein the set of changes are acceptable if applying the differences stored in the list of events does not cause the server to enter into an error state; e) receiving responses from each server in the select set of servers as to whether the servers are able to accept the set of changes; f) activating the set of changes on the select set of servers if the responses from the select set of servers indicate that all of the select set of servers are able to accept the set of changes; and g) generating a further set of changes and repeating steps c, d, e, and f if the responses from the select set of servers indicate that at least one of the select set of servers is not able to accept the set of changes.
-
-
19. A system for performing a set of configuration changes to a set of servers in a transaction based change process, comprising:
-
a server, including one or more processors, which receives a set of changes to a configuration; and one or more stored sequences of instructions which, when executed by the one or more processors, cause the processor to carry out the steps of; a) receiving the set of changes to the configuration; b) creating a configuration file update including the set of changes; c) distributing the configuration file update to a select set of servers, wherein the select set of servers includes two or more servers; d) determining whether to apply the set of changes to the select set of servers, wherein each server that receives the configuration file update performs the steps of reading the set of changes into a managed bean, wherein the managed bean also contains configuration information of the server where the managed bean resides, comparing the configuration file update to the configuration information of the server, storing any differences between the configuration file update and the configuration information in a list of events, and determining whether the server is able to accept the set of changes, wherein the set of changes are acceptable if applying the differences stored in the list of events does not cause the server to enter into an error state; e) receiving responses from each server in the select set of servers as to whether the servers are able to accept the set of changes; f) activating the set of changes on the select set of servers if the responses from the select set of servers indicate that all of the select set of servers are able to accept the set of changes; and g) generating a further set of changes and repeating steps c, d, e, and f if the responses from the select set of servers indicate that at least one of the select set of servers is not able to accept the set of changes.
-
Specification