# US 2019/0173982 A1 · Dynamic recovery from a split-brain failure in edge nodes

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

- Number: US 2019/0173982 A1
- Document ID: US20190173982A1
- Status: Published application
- Kind: A1
- Application number: 16/270,580
- Filed: 2019-02-07
- Published: 2019-06-06
- Earliest claimed: 2016-12-21
- Assignees: Nicira, Inc.
- Applicants: Nicira, Inc.
- Inventors: Ankur Dubey; Ganesan Chandrashekhar; Sreeram Ravinoothala
- Web page: https://patentgrep.com/patent/US20190173982A1

## CPC

- 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)
- G06F 11/1484: {involving virtual machines}
- G06F 11/202: {where processing functionality is redundant (redundant communication control functionality G06F11/2005, redundant storage control functionality G06F11/2089)}
- G06F 11/2025: {using centralised failover control functionality}
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/2033: {switching over of hardware resources}
- H04L 41/0661: {by reconfiguring faulty entities}
- H04L 41/0668: by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
- H04L 45/28: using route fault recovery
- H04L 67/62: Establishing a time schedule for servicing the requests
- H04L 69/325: in the network layer [OSI layer 3], e.g. X.25 (H04L69/16 takes precedence)
- H04L 5/0055: {Physical resource allocation for ACK/NACK (for physical mapping arrangements in ARQ protocols H04L1/1861)}
- H04L 43/0817: by checking functioning
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- 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

Some embodiments provide a method for employing the management and control system of a network to dynamically recover from a split-brain condition in the edge nodes of the network. The method of some embodiments takes a corrective action to automatically recover from a split-brain failure occurred at a pair of high availability (HA) edge nodes of the network. The HA edge nodes include an active machine and a standby machine. The active edge node actively passes through the network traffic (e.g., north-south traffic for a logical network), while the standby edge node is synchronized and ready to transition to the active state, should a failure occur. Both HA nodes share the same configuration settings and only one is active until a path, link, or system failure occurs. The active edge node also provides stateful services (e.g., stateful firewall, load balancing, etc.) to the data compute nodes of the network.

## Claims

### Claim at position 1

1-11. (canceled)

### Claim 12

A non-transitory machine readable medium of a first edge node of a network storing a program which when executed by at least one processing unit of the edge node determines whether the first edge node should be an active edge node or a standby edge node, the program comprising sets of instructions for:
receiving a first message from a controller cluster of the network, the first message for identifying a state of the controller cluster;
receiving a second message from the controller cluster, the second message for identifying a state of a second edge node of the network;
determining, based on the received first and second messages, whether the first edge node should be an active edge node; and
changing a state of the first edge node to standby when the first edge node is not determined to be the active edge node.

### Claim 13 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the program further comprises a set of instructions for, before receiving the first message, sending a third message to the controller cluster when the first edge node transitions from a first state to a second state.

### Claim 14 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein the first state is a standby state and the second state is an active state.

### Claim 15 (depends on 14)

The non-transitory machine readable medium of claim 14, wherein the first edge node transitions from the standby state to the active state when the first edge node is unable to communicate with the second edge node.

### Claim 16 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the second message identifies the state of the second edge node to be active.

### Claim 17 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the first message indicates whether a majority number of controllers in the controller cluster are healthy and active.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the program further comprises a set of instructions for, when the majority number of controllers are not active, changing the state of the first edge node to standby irrespective of the sate of the second edge node.

### Claim 19 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the second edge node comprises a primary edge node and the first edge node comprises a secondary edge node in a pair of high availability (HA) edge nodes, wherein the primary edge nodes forwards north-south traffic for the network and the secondary edge node takes over the forwarding of traffic when the primary edge node becomes unavailable.

### Claim 20 (depends on 19)

The non-transitory machine readable medium of claim 19, wherein the forwarding of traffic comprises performing layer three routing of network traffic to connect the network to one or more external networks.

### Claim 21 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the first and second edge nodes comprise virtual machines that execute on two separate host machines.

### Claim 22 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the first and second edge nodes communicate with each other through a set of private links in order to monitor states of each other.

### Claim 23

A method for determining whether a first edge node of a network should be an active edge node or a standby edge node, the method comprising:
receiving a first message from a controller cluster of the network, the first message for identifying a state of the controller cluster;
receiving a second message from the controller cluster, the second message for identifying a state of a second edge node of the network;
determining, based on the received first and second messages, whether the first edge node should be an active edge node; and
changing a state of the first edge node to standby when the first edge node is not determined to be the active edge node.

### Claim 24 (depends on 23)

The method of claim 23 further comprising sending, before receiving the first message, a third message to the controller cluster when the first edge node transitions from a first state to a second state.

### Claim 25 (depends on 24)

The method of claim 24, wherein the first state is a standby state and the second state is an active state.

### Claim 26 (depends on 25)

The method of claim 25, wherein the first edge node transitions from the standby state to the active state when the first edge node is unable to communicate with the second edge node.

### Claim 27 (depends on 23)

The method of claim 23, wherein the second message identifies the state of the second edge node to be active.

### Claim 28 (depends on 23)

The method of claim 23, wherein the first message indicates whether a majority number of controllers in the controller cluster are healthy and active.

### Claim 29 (depends on 28)

The method of claim 28 further comprising changing the state of the first edge node to standby irrespective of the state of the second edge node when the majority numbers of controllers are not active.

### Claim 30 (depends on 23)

The method of claim 23, wherein the second edge node comprises a primary edge node and the first edge node comprises a secondary edge node in a pair of high availability (HA) edge nodes, wherein the primary edge nodes forwards north-south traffic for the network and the secondary edge node takes over the forwarding of traffic when the primary edge node becomes unavailable.

### Claim 31 (depends on 23)

The method of claim 23, wherein the first and second edge nodes communicate with each other through a set of private links in order to monitor states of each other.
