# US 2019/0173943 A1 · Optimized rolling restart of stateful services to minimize disruption

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

- Number: US 2019/0173943 A1
- Document ID: US20190173943A1
- Status: Published application
- Kind: A1
- Application number: 15/830,013
- Filed: 2017-12-04
- Published: 2019-06-06
- Earliest claimed: 2017-12-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Nir Rozenbaum; Bruno Wassermann
- Web page: https://patentgrep.com/patent/US20190173943A1

## CPC

- H04L 67/1034: Reaction to server failures by a load balancer
- H04L 41/0661: {by reconfiguring faulty entities}
- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 41/30: {Decision processes by autonomous network management units using voting and bidding}
- H04L 67/101: based on network conditions
- H04L 67/1031: Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present systems and methods may provide the capability to reduce service unavailability, client disruption, network traffic and processing load due to state synchronization. For example, a computer-implemented method for controlling operation of a plurality of server computer systems may comprise determining an order in which the plurality of server computer systems is to be restarted and restarting each of the plurality of server computer systems sequentially according to the determined order, wherein a leader of the server computer systems receives and handles write requests for the plurality of server computer systems, and wherein the leader server computer system is restarted last.

## Claims

### Claim 1

A computer-implemented method for controlling operation of a plurality of server computer systems comprising:
determining an order in which the plurality of server computer systems is to be restarted; and
restarting each of the plurality of server computer systems sequentially according to the determined order;
wherein a leader of the server computer systems receives and handles write requests for the plurality of server computer systems, and wherein the leader server computer system is restarted last.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of server computer systems comprises a stateful clustered computing service.

### Claim 3 (depends on 1)

The method of claim 1, wherein the order in which the plurality of server computer systems is to be restarted is determined by sorting the plurality of server computer systems, except for the leader server computer system, based on a number of client computer systems connected to each of the plurality of server computer systems, in ascending order.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
accepting new connections with client computer systems at each server computer system that has been restarted; and
not accepting new connections with client computer systems at each server computer system that has not been restarted.

### Claim 5 (depends on 4)

The method of claim 4, wherein restarting each of the plurality of server computer systems comprises:
stopping processing on the server computer system being restarted;
backing up a state of the server computer system being restarted;
performing maintenance on the server computer system being restarted;
restoring the backed-up processing state of the server computer system being restarted; and
restarting processing on the server computer system being restarted.

### Claim 6 (depends on 5)

The method of claim 5, wherein the maintenance comprises at least one of an update, replacement, or modification to the server computer system.

### Claim 7

A system for controlling operation of a plurality of server computer systems, the system comprising a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor to perform:
determining an order in which the plurality of server computer systems is to be restarted; and
restarting each of the plurality of server computer systems sequentially according to the determined order;
wherein a leader of the server computer systems receives and handles write requests for the plurality of server computer systems, and wherein the leader server computer system is restarted last.

### Claim 8 (depends on 7)

The system of claim 7, wherein the plurality of server computer systems comprises a stateful clustered computing service.

### Claim 9 (depends on 7)

The system of claim 7, wherein the order in which the plurality of server computer systems is to be restarted is determined by sorting the plurality of server computer systems, except for the leader server computer system, based on a number of client computer systems connected to each of the plurality of server computer systems, in ascending order.

### Claim 10 (depends on 9)

The system of claim 9, further comprising:
accepting new connections with client computer systems at each server computer system that has been restarted; and
not accepting new connections with client computer systems at each server computer system that has not been restarted.

### Claim 11 (depends on 10)

The system of claim 10, wherein restarting each of the plurality of server computer systems comprises:
stopping processing on the server computer system being restarted;
backing up a state of the server computer system being restarted;
performing maintenance on the server computer system being restarted;
restoring the backed-up processing state of the server computer system being restarted; and
restarting processing on the server computer system being restarted.

### Claim 12 (depends on 11)

The system of claim 11, wherein the maintenance comprises at least one of an update, replacement, or modification to the server computer system.

### Claim 13

A computer program product for controlling operation of a plurality of server computer systems, the computer program product comprising a non-transitory computer readable storage having program instructions embodied therewith, the program instructions executable by a computer, to cause the computer to perform a method comprising:
determining an order in which the plurality of server computer systems is to be restarted; and
restarting each of the plurality of server computer systems sequentially according to the determined order;
wherein a leader of the server computer systems receives and handles write requests for the plurality of server computer systems, and wherein the leader server computer system is restarted last.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the plurality of server computer systems comprises a stateful clustered computing service.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the order in which the plurality of server computer systems is to be restarted is determined by sorting the plurality of server computer systems, except for the leader server computer system, based on a number of client computer systems connected to each of the plurality of server computer systems, in ascending order.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
accepting new connections with client computer systems at each server computer system that has been restarted; and
not accepting new connections with client computer systems at each server computer system that has not been restarted.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein restarting each of the plurality of server computer systems comprises:
stopping processing on the server computer system being restarted;
backing up a state of the server computer system being restarted;
performing maintenance on the server computer system being restarted;
restoring the backed-up processing state of the server computer system being restarted; and
restarting processing on the server computer system being restarted.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the maintenance comprises at least one of an update, replacement, or modification to the server computer system.
