# US 11,119,872 B1 · Log management for a multi-node data processing system

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

- Number: US 11,119,872 B1
- Document ID: US11119872B1
- Status: Granted
- Kind: B1
- Application number: 16/889,898
- Filed: 2020-06-02
- Granted: 2021-09-14
- Earliest claimed: 2020-06-02
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Erik Daniel Jacobson; Corneliu Mihai Boac; Pradeep Kumar Armugam
- Web page: https://patentgrep.com/patent/US11119872B1

## CPC

- G06F 11/2023: {Failover techniques}
- G06F 11/202: {where processing functionality is redundant (redundant communication control functionality G06F11/2005, redundant storage control functionality G06F11/2089)}
- G06F 11/2035: {without idle spare hardware}
- G06F 11/2043: {where the redundant components share a common memory address space}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 2201/805: Real-time
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-readable medium comprises instructions which, upon execution by a node in a multi-node data processing system, enable the node to serve as a first leader node by receiving system log data from multiple compute nodes in a first cluster of the multi-node data processing system, and by saving the system log data in shared storage that is also used by second and third leader nodes to save system log data for compute nodes in second and third clusters of the multi-node data processing system. The instructions further enable the node to respond to failure of either of the second and third leader nodes by automatically assuming system logging duties for the compute nodes in the cluster that was associated with the failed leader node. The instructions may also enable the node to serve as a console bridge and to save console log data in the shared storage.

## Claims

### Claim 1

A non-transitory computer-readable medium comprising instructions which, upon execution by a node in a multi-node data processing system, enable the node to serve as a first leader node by:
receiving system log data from multiple compute nodes in a first cluster of the multi-node data processing system;
saving the system log data in shared storage that is also used by a second leader node to save system log data for compute nodes in a second cluster of the multi-node data processing system and by a third leader node to save system log data for compute nodes in a third cluster of the multi-node data processing system; and
in response to failure of either of the second and third leader nodes, automatically assuming system logging duties for the compute nodes in the cluster that was associated with the failed leader node.

### Claim 2 (depends on 1)

A non-transitory computer-readable medium according to claim 1, wherein:
the instructions enable the first leader node to receive system log data from the compute nodes in the first cluster based on a listen list in the first leader node; and
the listen list comprises an internet protocol (IP) address to be used by compute nodes in the first cluster to send system log data to a current leader node for the first cluster.

### Claim 3 (depends on 2)

A non-transitory computer-readable medium according to claim 2, wherein:
the IP address to be used by compute nodes in the first cluster to send system log data to a current leader node comprises a first IP address; and
the instructions enable the first leader node to automatically assume system logging duties for the second cluster by adding a second IP address to the listen list in the first leader node, wherein the second IP address is to be used by compute nodes in the second cluster to send system log data to a current leader node for the second cluster.

### Claim 4 (depends on 1)

A non-transitory computer-readable medium according to claim 1, wherein the instructions further enable the first leader node, as part of an initialization process, to cooperate with other leader nodes in the multi-node data processing system to distribute system logging duties among the leader nodes.

### Claim 5 (depends on 4)

A non-transitory computer-readable medium according to claim 4, wherein:
the instructions enable the first leader node to receive system log data from compute nodes based on a listen list in the first leader node; and
to distribute system logging duties among the leader nodes comprises to add, to the listen list in the first leader node, an internet protocol (IP) address to be used by compute nodes in the first cluster to send system log data to a current leader node for the first cluster.

### Claim 6 (depends on 1)

A non-transitory computer-readable medium according to claim 1, wherein the instructions enable the first leader node, after assuming system logging duties for the second cluster, to:
automatically determine whether the second leader node has been restored; and
in response to a determination that the second leader node has been restored, automatically relinquish system logging duties for the second cluster to the second leader node.

### Claim 7 (depends on 1)

A non-transitory computer-readable medium according to claim 1, wherein the instructions further enable the first leader node to:
serve as a console bridge, to enable a head node in the multi-node data processing system to access a console of a compute node in the first cluster via the first leader node; and
save console log data for the compute node in the shared storage.

### Claim 8 (depends on 7)

A non-transitory computer-readable medium according to claim 7, wherein the instructions further enable the first leader node to automatically assume console bridge duties for the second cluster, in response to failure of the second leader node.

### Claim 9

A system comprising:
a processor;
a computer-readable medium coupled to the processor; and
instructions in the computer-readable medium which, when executed by the processor, enable the system to serve as a first leader node of a multi-node data processing system by:
receiving system log data from multiple compute nodes in a first cluster of the multi-node data processing system;
saving the system log data in shared storage that is also used by a second leader node to save system log data for compute nodes in a second cluster of the multi-node data processing system and by a third leader node to save system log data for compute nodes in a third cluster of the multi-node data processing system; and
in response to failure of either of the second and third leader nodes, automatically assuming system logging duties for the compute nodes in the cluster that was associated with the failed leader node.

### Claim 10 (depends on 9)

A system according to claim 9, wherein:
the instructions enable the system to receive system log data from the compute nodes in the first cluster based on a listen list in the system;
the listen list comprises a first internet protocol (IP) address to be used by compute nodes in the first cluster to send system log data to a current leader node for the first cluster; and
the instructions enable the system to automatically assume system logging duties for the second cluster by adding a second IP address to the listen list in the system, wherein the second IP address is to be used by compute nodes in the second cluster to send system log data to a current leader node for the second cluster.

### Claim 11 (depends on 9)

A system according to claim 9, wherein:
the instructions enable the system to receive system log data from compute nodes based on a listen list in the system; and
the instructions further enable the system, as part of an initialization process, to cooperate with other leader nodes in the multi-node data processing system to distribute system logging duties among the leader nodes, wherein to distribute system logging duties among the leader nodes comprises to add, to the listen list in the system, an internet protocol (IP) address to be used by compute nodes in the first cluster to send system log data to a current leader node for the first cluster.

### Claim 12 (depends on 9)

A system according to claim 9, wherein the instructions enable the system, after assuming system logging duties for the second cluster, to:
automatically determine whether the second leader node has been restored; and
in response to a determination that the second leader node has been restored, automatically relinquish system logging duties for the second cluster to the second leader node.

### Claim 13 (depends on 9)

A system according to claim 9, wherein the instructions further enable the system to:
serve as a console bridge, to enable a head node in the multi-node data processing system to access a console of a compute node in the first cluster via the system; and
save console log data for the compute node in the shared storage.

### Claim 14 (depends on 13)

A system according to claim 13, wherein the instructions further enable the system to automatically assume console bridge duties for the second cluster, in response to failure of the second leader node.

### Claim 15 (depends on 13)

A system according to claim 13, wherein the instructions enable the system to use a management processor of the compute node to access the console of the compute node for the head node.

### Claim 16

A method for managing logs for a multi-node data processing system, the method comprising:
using a listen list in a first leader node of the multi-node data processing system to receive, at the first leader node, system log data from multiple compute nodes in a first cluster of the multi-node data processing system, wherein the listen list comprises a first internet protocol (IP) address to be used by the compute nodes in the first cluster to send system log data to a current leader node for the first cluster;
saving the system log data in shared storage that is also used by second and third leader nodes to save system log data for compute nodes in second and third clusters of the multi-node data processing system;
in response to failure of the second leader node, automatically assuming, at the first leader node, system logging duties for the second cluster, by adding a second IP address to the listen list in the first leader node;
in response to restoration of the second leader node, automatically relinquishing system logging duties for the second cluster by removing the second IP address from the listen list in the first leader node; and
in response to failure of the third leader node, automatically assuming, at the first leader node, system logging duties for the third cluster.

### Claim 17 (depends on 16)

A method according to claim 16, further comprising:
at the first leader node, serving as a console bridge, to enable a head node in the multi-node data processing system to access a console of a compute node in the first cluster via the first leader node; and
saving console log data for the compute node in the shared storage.

### Claim 18 (depends on 17)

A method according to claim 17, further comprising:
at the first leader node, automatically assuming console bridge duties for the second cluster, in response to failure of the second leader node.

### Claim 19 (depends on 18)

A method according to claim 18, wherein the operation of serving as a console bridge, to enable the head node to access the console of the compute node comprises:
using a management processor of the compute node to access the console of the compute node for the head node.

### Claim 20 (depends on 16)

A method according to claim 16, further comprising:
determining, at the first leader node, whether any other leader node in the multi-node data processing system has failed; and
in response to determining that any other leader node in the multi-node data processing system has failed, automatically assuming system logging duties for the failed leader node.
