# US 2017/0289044 A1 · Highly available servers

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

- Number: US 2017/0289044 A1
- Document ID: US20170289044A1
- Status: Published application
- Kind: A1
- Application number: 15/629,242
- Filed: 2017-06-21
- Published: 2017-10-05
- Earliest claimed: 2012-06-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Juan Du; Arun K. Iyengar; Gong Su
- Web page: https://patentgrep.com/patent/US20170289044A1

## CPC

- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for maintaining high availability servers are disclosed. For example, a method comprises the following steps. One or more client requests are provided to a first server for execution therein. The one or more client requests are also provided to a second server for storage therein. In response to the first server failing, the second server is configured to execute at least one client request of the one or more client requests provided to the first server and the second server that is not properly executed by the first server.

## Claims

### Claim 1

A method comprising:
assigning one or more identifiers to one or more client requests;
providing the one or more client requests to a first server for execution therein;
providing the one or more client requests to a second server for storage therein before failure of the first server; and
receiving at least one reply corresponding to each client request executed by the first server, wherein each reply comprises the identifier assigned to its corresponding client request, and wherein the one or more client requests executed by the first server are periodically identified by updating a current identifier stored in a shared memory shared between the first server and the second server;
wherein, in response to the first server failing, the second server is configured to execute at least one client request of the one or more client requests that has not been executed by the first server, the at least one client request being determined based on the current identifier stored in the shared memory.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the one or more client requests is sent from a client.

### Claim 3 (depends on 1)

The method of claim 1, further comprising using the one or more identifiers to keep track of which of the one or more client requests have resulted in replies sent to one or more clients which sent the one or more client requests.

### Claim 4 (depends on 3)

The method of claim 3, further comprising in response to receiving a reply corresponding to a request of the one or more client requests which has not resulted in a reply sent to a client which sent the client request, sending the reply to the client which sent the client request.

### Claim 5 (depends on 3)

The method of claim 3, further comprising in response to receiving a second reply corresponding to a client request of the one or more client requests which has already resulted in a reply sent to a client which sent the client request, ignoring the second reply.

### Claim 6 (depends on 1)

The method of claim 1, wherein the shared memory comprises a coupling facility.

### Claim 7 (depends on 1)

The method of claim 1, further comprising varying a frequency associated with periodically updating the sequence number stored in the shared memory in response to available processing power.

### Claim 8 (depends on 1)

The method of claim 1, wherein executing each client request comprises sending one or more messages, and wherein the identifier stored in the shared memory is periodically updated after each message in a corresponding client request is sent.

### Claim 9 (depends on 1)

The method of claim 1, wherein executing each client request comprises sending one or more messages, and wherein the identifier stored in the shared memory is periodically updated after all messages in a corresponding client request are sent.

### Claim 10 (depends on 1)

The method of claim 1, wherein executing each client request comprises sending one or more messages, and wherein the identifier stored in the shared memory is periodically updated after all of the messages in two or more client requests are sent.

### Claim 11 (depends on 1)

An article of manufacture comprising a non-transitory computer readable storage medium for storing computer readable program code which, when executed, causes a computer to perform the method of claim 1.

### Claim 12 (depends on 1)

An apparatus comprising a memory and a processor device operatively coupled to the memory and configured to perform the method of claim 1.

### Claim 13

A method comprising:
a first server of a cluster of servers receiving a plurality of client requests and attempting to execute each client request of the plurality of requests, wherein each client request is assigned an identifier;
a second server of the cluster of servers receiving the plurality of requests and storing the plurality of requests before failure of the first server;
the first server sending at least one reply corresponding to each client request executed by the first server, wherein each reply comprises the identifier assigned to its corresponding client request, and wherein the one or more client requests executed by the first server are periodically identified by updating a current identifier stored in a shared memory shared between the first server and the second server; and
in response to the first server failing, the second server executing at least one client request of the plurality of client requests that has not been executed by the first server, the at least one request being determined based on the current identifier stored in the shared memory.

### Claim 14 (depends on 13)

The method of claim 13, wherein the first server and the second server comprise web servers.

### Claim 15 (depends on 13)

The method of claim 13, wherein the shared memory comprises a coupling facility.

### Claim 16 (depends on 13)

The method of claim 13, further comprising varying a frequency associated with periodically updating the current identifier stored in the shared memory in response to available computing resources.

### Claim 17 (depends on 16)

The method of claim 16, wherein the computing resources comprise at least one of a processor comprising the cluster of servers and network bandwidth between the first server and the shared memory.

### Claim 18

A system comprising:
a first server of a cluster of servers configured to receive a plurality of client requests and to attempt to execute each client request in the plurality of client requests;
a second server of the cluster of servers receiving the plurality of requests and storing the plurality of client requests before failure of the first server; and
a shared memory shared between the first server and the second server;
wherein the one or more client requests executed by the first server are periodically identified by updating a current identifier stored in the shared memory;
wherein, in response to the first server failing, the second server is configured to determine at least one client request in the plurality of client requests that has not been executed by the first server based on the current identifier stored in the shared memory and to execute the at least one client request that has not been executed by the first server.

### Claim 19 (depends on 18)

The system of claim 18, wherein the first server and the second server comprise web servers.

### Claim 20 (depends on 18)

The system of claim 18, wherein the shared memory comprises a coupling facility.
