# US 2008/0313490 A1 · System and article of manufacture for executing initialization code to configure connected devices

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

- Number: US 2008/0313490 A1
- Document ID: US20080313490A1
- Status: Published application
- Kind: A1
- Application number: 12/187,291
- Filed: 2008-08-06
- Published: 2008-12-18
- Earliest claimed: 2005-11-29
- Assignees: International Business Machines Corporation
- Inventors: Michael P. Vageline; Kurt Allen Lovrien
- Web page: https://patentgrep.com/patent/US20080313490A1

## CPC

- H04L 41/08: Configuration management of networks or network elements (address allocation H04L61/50)
- G06F 11/1415: {at system level}
- G06F 11/2089: {Redundant storage control functionality}
- 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

Provided are a system and article of manufacture for executing initialization code to configure connected devices. A plurality of segments are provided to configure at least one connected device, wherein each segment includes configuration code to configure the at least on connected device. The segments are executed according to a segment order by executing the configuration code in each segment to perform configuration operations with respect to the at least one connected device. Completion of the segment is indicated in a memory in response to completing execution of the configuration operations for the segment.

## Claims

### Claim 1

An article of manufacture having code capable of being used to configure at least one device connected to a system and to communicate with a memory, wherein the code causes operations to be performed, the operations comprising:
providing a plurality of segments in a computer readable storage medium to configure at least one connected device, wherein each segment includes configuration code to configure the at least one connected device;
executing the segments according to a segment order by executing the configuration code in each segment to perform configuration operations with respect to the at least one connected device;
indicating completion of the segment in a memory in response to completing execution of the configuration operations for the segment;
determining from the memory a last completed segment in the segment order in response to recovery from a failure, wherein the failure occurred while executing a failed segment following the last completed segment in the segment ordering;
determining whether execution can continue from the failed segment; and
executing the configuration code in the failed segment in response to determining that execution can continue from the failed segment.

### Claim 2 (depends on 1)

The article of manufacture of claim 1, further comprising:
determining whether there is a clean-up routine associated with the failed segment; and
executing the determined clean-up routine in response to determining that there is the clean-up routine to return the configuration of the at least one connected device to a state prior to beginning execution of the failed segment, wherein the configuration code in the failed segment is executed in response to executing the clean-up routine.

### Claim 3 (depends on 1)

The article of manufacture of claim 1, further comprising:
determining whether a retry value exceeds a retry limit in response to determining that execution can continue from the failed segment;
incrementing a retry value before executing the configuration code in the failed segment in response to determining that the retry value does not exceed the retry limit; and
failing the recovery without retrying in response to determining that the retry value exceed the retry limit.

### Claim 4 (depends on 1)

The article of manufacture of claim 1, further comprising:
determining whether there is a clean-up routine associated with the failed segment and all segments preceding the failed segment in response to determining that execution cannot continue from the failed segment; and
executing each determined clean-up routine in an order reverse of the segment order to return the configuration of the at least one connected device to a state prior to execution of the configuration code.

### Claim 5 (depends on 4)

The article of manufacture of claim 4, wherein a different clean-up routine is associated with different segments to perform a clean-up specific to the segment configuration code.

### Claim 6 (depends on 1)

The article of manufacture of claim 1, wherein the code is executed by a first and second clusters, wherein the code causes the first and second clusters to execute the segments and further perform:
signaling, by the first cluster, the second cluster in response to executing one segment, wherein indicating completion of one segment in the memory further comprises indicating the first or second cluster that executed the configuration code in the completed segment; and
executing, by the second cluster, the segment executed by the first cluster in response to receiving the signal to configure the at least one connected device for use by the second cluster.

### Claim 7 (depends on 6)

The article of manufacture of claim 6, wherein the operations further comprise:
indicating, by the first and second clusters, completion of the segment in the memory in response to completing execution of the configuration operations for the segment; and
signaling, by the second cluster, the first cluster in response to executing one segment, wherein the first cluster executes a next segment in response to the signal.

### Claim 8 (depends on 6)

The article of manufacture of claim 6, wherein the operations further comprise:
detecting, by the first cluster, a failure during configuration;
determining, by the first cluster, from the memory a last completed segment in response to detecting the failure, wherein the failure occurred by the first or second cluster executing a failed segment following the last completed segment in the segment ordering;
determining, by the first cluster, whether execution can continue from the failed segment; and
executing, by the first and second cluster, the configuration code in the failed segment in response to determining that execution can continue from the failed segment.

### Claim 9 (depends on 8)

The article of manufacture of claim 8, wherein the first cluster determines from the memory the last completed segment and determines whether execution can continue from the failed segment, and wherein the first cluster further performs:
determining whether there is a clean-up routine associated with the failed segment and all segments preceding the failed segment in response to determining that execution cannot continue from the failed segment;
executing each determined clean-up routine in an order reverse of the segment order to return the configuration of the at least one connected device to a state prior to execution of the configuration code; and
signaling the second cluster to cause the second cluster to execute each determined clean-up routine in the order reverse of the segment order to return the configuration of the at least one connected device to a state prior to execution of the configuration code.

### Claim 10 (depends on 6)

The article of manufacture of claim 6, further comprising:
failing the configuration in response to determining that either the first or second cluster cannot access the memory before executing the segments.

### Claim 11

A system having connected devices, comprising
a processor;
a memory in communication with the processor;
a computer readable medium including a plurality of segments to configure at least one connected device, wherein each segment includes configuration code to configure the at least one connected device; and
code executed by the processor to perform operations, the operations comprising:
executing the segments according to a segment order by executing the configuration code in each segment to perform configuration operations with respect to the at least one connected device;
indicating completion of the segment in a memory in response to completing execution of the configuration operations for the segment;
determining from the memory a last completed segment in the segment order in response to recovery from a failure, wherein the failure occurred while executing a failed segment following the last completed segment in the segment ordering;
determining whether execution can continue from the failed segment; and
executing the configuration code in the failed segment in response to determining that execution can continue from the failed segment.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise:
determining whether there is a clean-up routine associated with the failed segment; and
executing the determined clean-up routine in response to determining that there is the clean-up routine to return the configuration of the at least one connected device to a state prior to beginning execution of the failed segment, wherein the configuration code in the failed segment is executed in response to executing the clean-up routine.

### Claim 13 (depends on 11)

The system of claim 11, wherein the operations further comprise:
determining whether a retry value exceeds a retry limit in response to determining that execution can continue from the failed segment;
incrementing a retry value before executing the configuration code in the failed segment in response to determining that the retry value does not exceed the retry limit; and
failing the recovery without retrying in response to determining that the retry value exceed the retry limit.

### Claim 14 (depends on 11)

The system of claim 11, wherein the operations further comprise:
determining whether there is a clean-up routine associated with the failed segment and all segments preceding the failed segment in response to determining that execution cannot continue from the failed segment; and
executing each determined clean-up routine in an order reverse of the segment order to return the configuration of the at least one connected device to a state prior to execution of the configuration code.

### Claim 15 (depends on 14)

The system of claim 14, wherein a different clean-up routine is associated with different segments to perform a clean-up specific to the segment configuration code.

### Claim 16 (depends on 11)

The system of claim 11, wherein the processor, memory, and computer readable medium comprise a first cluster, further comprising:
a second cluster, wherein the first cluster signals the second cluster in response to executing one segment, wherein the second cluster executes the segment executed by the first cluster in response to receiving the signal to configure the at least one connected device for use by the second cluster, and wherein the first and second clusters indicate completion of executing one segment in the memory by indicating the first or second cluster that executed the configuration code in the completed segment.

### Claim 17 (depends on 16)

The system of claim 16, wherein the operations further comprise:
indicating, by the first and second clusters, completion of the segment in the memory in response to completing execution of the configuration operations for the segment; and
signaling, by the second cluster, the first cluster in response to executing one segment, wherein the first cluster executes a next segment in response to the signal.

### Claim 18 (depends on 16)

The system of claim 16, wherein the first and second cluster further perform:
detecting, by the first cluster, a failure during configuration;
determining, by the first cluster, from the memory a last completed segment in response to detecting the failure, wherein the failure occurred by the first or second cluster executing a failed segment following the last completed segment in the segment ordering;
determining, by the first cluster, whether execution can continue from the failed segment; and
executing, by the first and second cluster, the configuration code in the failed segment in response to determining that execution can continue from the failed segment.

### Claim 19 (depends on 18)

The system of claim 18, wherein the first cluster determines from the memory the last completed segment and determines whether execution can continue from the failed segment, and wherein the first cluster further performs:
determining whether there is a clean-up routine associated with the failed segment and all segments preceding the failed segment in response to determining that execution cannot continue from the failed segment;
executing each determined clean-up routine in an order reverse of the segment order to return the configuration of the at least one connected device to a state prior to execution of the configuration code; and
signaling the second cluster to cause the second cluster to execute each determined clean-up routine in the order reverse of the segment order to return the configuration of the at least one connected device to a state prior to execution of the configuration code.

### Claim 20 (depends on 16)

The system of claim 16, wherein the operations further comprise:
failing the configuration in response to determining that either the first or second cluster cannot access the memory before executing the segments.
