# US 2003/0233385 A1 · Method and system for executing and undoing distributed server change operations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0233385 A1
- Document ID: US20030233385A1
- Status: Published application
- Kind: A1
- Application number: 10/414,958
- Filed: 2003-04-16
- Published: 2003-12-18
- Earliest claimed: 2002-06-12
- Assignees: BladeLogic, Inc.
- Inventors: Balaji Srinivasa; Vijay G. Manwani; Thomas Martin Kraus
- Web page: https://patentgrep.com/patent/US20030233385A1

## CPC

- H04L 41/022: Multivendor or multi-standard integration
- G06F 9/466: {Transaction processing}
- H04L 41/0803: Configuration setting
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 41/084: Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L 41/0853: by actively collecting configuration information or by backing up configuration information
- H04L 41/0863: {by rolling back to previous configuration versions}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1001: for accessing one among a plurality of replicated servers
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- H04L 67/1014: based on the content of a request
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- H04L 67/1034: Reaction to server failures by a load balancer
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for executing and undoing distributed server change operations for a collection of server objects across multiple target servers in a transaction-safe manner is provided. In one embodiment, server change operations for a collection of server objects, such as files and configuration file entries, are specified in a transaction package. The target servers to which the specified change operation are directed are also identified in the transaction package. Parameter values for each of the identified target servers are specified through a parameter file in the transaction package. The transaction package is sent to the identified target servers, which execute the change operations on the target servers in a transaction-safe manner using these parameter values.

## Claims

### Claim 1

A method for executing change operations across a plurality of servers in a transaction-safe manner, the method comprising the steps of:
(a) specifying change operations for a collection of server objects in a transaction package, wherein the objects comprise at least one of files and configuration file entries;
(b) identifying at least one target server for execution of the change operations specified in the transaction package;
(c) specifying parameter values for each of the identified target servers;
(d) communicating the transaction package to the identified target servers; and
(e) executing the specified change operations on each of the identified target servers in a transaction-safe manner using the parameter values.

### Claim 2 (depends on 1)

The method of claim 1, wherein the server objects comprise at least one of a primitive server object, a compound server object, an abstract configuration server object, and a component server object.

### Claim 3 (depends on 2)

The method of claim 2, wherein the primitive server object comprises an elemental server object.

### Claim 4 (depends on 2)

The method of claim 2, wherein the compound server object comprises at least one of the primitive server objects and the compound server objects.

### Claim 5 (depends on 2)

The method of claim 2, wherein the abstract configuration server object comprises an entry in a configuration file mapped to a corresponding entry in a common abstract configuration file format.

### Claim 6 (depends on 2)

The method of claim 2, wherein the component server object comprises a sequenced collection of server objects.

### Claim 7 (depends on 1)

The method of claim 1, wherein the specifying step (a), the transaction package comprises an XML-based instruction set.

### Claim 8 (depends on 1)

The method of claim 1, wherein the specifying step (a), the transaction package comprises a text-based instruction set.

### Claim 9 (depends on 1)

The method of claim 1, in addition to the specified change operations in the transaction package, the transaction package in the specifying step (a) further comprises:
(i) a transaction context;
(ii) a parameter file comprising the parameter values specific to each of the identified target servers;
(iii) error handling actions;
(iv) a sequencing instruction for the specified change operations; and
(v) prerequisite information.

### Claim 10 (depends on 9)

The method of claim 9, wherein the (i) transaction context in the transaction package comprises begin-transaction and end-transaction statements that encapsulate the specified change operations.

### Claim 11 (depends on 9)

The method of claim 9, wherein the (ii) parameter file comprises group-level parameter values that are identical across the identified target servers.

### Claim 12 (depends on 11)

The method of claim 11, wherein the (ii) parameter file comprises the parameter values that are distinct for each of the identified target servers and override the group-level parameter values if specified.

### Claim 13 (depends on 9)

The method of claim 9, wherein the (iii) error handling actions comprise soft error and a hard error.

### Claim 14 (depends on 9)

The method of claim 9, wherein the (iv) sequencing instruction for the server change operations is provided locally from the transaction package.

### Claim 15 (depends on 14)

The method of claim 14, wherein the (iv) sequencing instruction for the server change operations is provided from an external dependency graph, if the sequencing instruction is not provided locally from the transaction package.

### Claim 16 (depends on 9)

The method of claim 9, wherein the (v) prerequisite information comprises prerequisite information for the identified target servers to execute the specified change operations.

### Claim 17 (depends on 1)

The method of claim 1 further comprising the steps of:
(i) maintaining a transaction log for the transaction package, wherein the transaction log comprises details of all steps performed during execution of the change operations specified in the transaction package;
(ii) after a successful completion of the executing step (e), optionally reversing the executed change operations via an explicit user request; and
(iii) automatically reversing the executed change operations, after detecting an occurrence of an error.

### Claim 18 (depends on 1)

The method of claim 1 further comprising the steps of optionally performing a dry-run on the transaction package.

### Claim 19 (depends on 1)

The method of claim 1 further comprising:
(i) assembling a plurality of transaction packages into a transaction project; and
(ii) executing change operations specified in each transaction package in the transaction project in a transaction-safe manner.

### Claim 20

A transaction package for executing change operations across a plurality of target servers in a transaction-safe manner, the transaction package comprising:
(a) an instruction set for specifying change operations for a plurality of server objects and identifying at least one target server for execution of the specified change operations on the identified target servers; and
(b) a parameter file, in communication with the instruction set, for comprising parameter values specific to each of the identified target servers.

### Claim 21 (depends on 20)

The transaction package of claim 20, wherein the (b) parameter file comprises group-level parameter values that are identical across the identified target servers.

### Claim 22 (depends on 21)

The transaction package of claim 21, wherein the (b) parameter file comprises the parameter values that are distinct for each of the identified target servers and override the group-level parameter values if specified.

### Claim 23 (depends on 20)

The transaction package of claim 20, wherein the server objects comprise at least one of a primitive server object, a compound server object, an abstract configuration server object, and a component server object.

### Claim 24 (depends on 23)

The transaction package of claim 23, wherein the primitive server object comprises an elemental server object.

### Claim 25 (depends on 23)

The transaction package of claim 23, wherein the compound server object comprises at least one of the primitive server objects and the compound server objects.

### Claim 26 (depends on 23)

The transaction package of claim 23, wherein the abstract configuration server object comprises an entry in a configuration file mapped to a corresponding entry in a common abstract configuration file format.

### Claim 27 (depends on 23)

The transaction package of claim 23, wherein the component server object comprises a sequenced collection of server objects.

### Claim 28 (depends on 20)

The transaction package of claim 20, wherein the instruction set is an XML-based instruction set.

### Claim 29 (depends on 20)

The transaction package of claim 20, wherein the instruction set is a text-based instruction set.

### Claim 30 (depends on 20)

The transaction package of claim 20, in addition to the specified change operations in the instruction set, the instruction set further comprises:
(i) a transaction context;
(ii) error handling actions;
(iii) a sequencing instruction for the specified change operations; and
(iv) prerequisite information.

### Claim 31 (depends on 30)

The transaction package of claim 30, wherein the (i) transaction context comprises begin-transaction and end-transaction statements that encapsulate the specified change operations.

### Claim 32 (depends on 30)

The transaction package of claim 30, wherein the (ii) error handling actions comprise a soft error and a hard error.

### Claim 33 (depends on 30)

The transaction package of claim 30, wherein the (iii) sequencing instruction for the server change operations is provided locally from instruction set.

### Claim 34 (depends on 33)

The transaction package of claim 33, wherein the (iii) sequencing instruction for the server change operations is provided from an external dependency graph, if the sequencing instruction is not provided locally from the instruction set.

### Claim 35 (depends on 30)

The transaction package of claim 30, wherein the (iv) prerequisite information comprises prerequisite information for the identified target servers to execute the specified change operations.

### Claim 36 (depends on 20)

The transaction package of claim 20, wherein a dry-run is optionally performed on the transaction package.

### Claim 37 (depends on 20)

The transaction package of claim 20, wherein the transaction package and a second transaction package is assembled into a transaction project to execute the change operations specified in each transaction package in a transaction-safe manner.

### Claim 38 (depends on 20)

The transaction package of claim 20, wherein the transaction package maintains:
(i) a transaction log comprising details of all steps performed during execution of the change operations specified in the transaction package;
(ii) after a successful completion of at least one of the change operations, an explicit user request for optionally reversing the executed change operations using the details provided from the transaction log; and
(iii) an error signal for automatically reversing the executed change operations using the details provided from the transaction log.
