# US 2021/0067424 A1 · Systems and methods for disabling services in a cluster

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

- Number: US 2021/0067424 A1
- Document ID: US20210067424A1
- Status: Published application
- Kind: A1
- Application number: 16/599,153
- Filed: 2019-10-11
- Published: 2021-03-04
- Earliest claimed: 2019-08-26
- Assignees: Citrix Systems, Inc.
- Applicants: Citrix Systems, Inc.
- Inventors: Aman Chaudhary; Vemula Srimithra; Raghav S. N; Rajesh Joshi
- Web page: https://patentgrep.com/patent/US20210067424A1

## CPC

- G06F 9/5072: {Grid computing}
- H04L 41/5054: Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- H04L 67/1029: using data related to the state of servers by a load balancer
- H04L 67/1034: Reaction to server failures by a load balancer
- H04L 67/143: Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 67/75: Indicating network or usage conditions on the user display
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed herein includes a system, a method, and a device for disabling services in a cluster. A master node of a plurality of nodes of a cluster can receive a disable instruction for a service of the cluster. The master node can transmit to the plurality of nodes a transition instruction to instruct the other nodes to stop accepting requests from one or more client devices for the service. The master node can receive, from each of the plurality of nodes, a client count value indicative of a number of current client connections from the one or more client devices to one or more respective nodes of the plurality of nodes. The master node can determine that the client count value is a zero value for each node of the plurality of nodes. The master node can transmit an out of service instruction to each node of the plurality of nodes to disable the service on the cluster.

## Claims

### Claim 1

A method for disabling a service in a cluster, the method comprising:
receiving, by a master node of a plurality of nodes of a cluster, a disable instruction for a service of the cluster, each node having a plurality of cores to provide one or more connections to one or more client devices using the service;
transmitting, by the master node to other nodes of the plurality of nodes, a transition instruction to instruct the other nodes to stop accepting requests from the one or more client devices for the service; and
responsive to determining that there are no current client connections from the one or more client devices one or more respective nodes of the plurality of nodes, transmitting, by the master node, an out of service instruction to each node of the plurality of nodes to disable the service on the cluster.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
generating, by the master node, the transition instruction for each node of the plurality of nodes to transition a status the service from active to transition at the plurality of nodes.

### Claim 3 (depends on 1)

The method of claim 1, comprising:
receiving, by the master node from each of the other nodes of the plurality of nodes, a client count value indicative of a number of current client connections from the one or more client devices to one or more respective nodes of the plurality of nodes; and
determining, by the master node, that the client count value is a zero value for each node of the plurality of nodes;

### Claim 4 (depends on 3)

The method of claim 3, comprising:
generating, by the master node, a first mapping having a bit value for each node of the plurality of nodes, the bit value indicating if the respective node provided the client count value to the master node.

### Claim 5 (depends on 4)

The method of claim 4, comprising:
updating, by the master node, one or more bit values in the first mapping to indicate that one or more nodes of the plurality of nodes provided respective count values.

### Claim 6 (depends on 5)

The method of claim 5, comprising:
resetting, by the master node, the bit value in the first mapping for each node responsive to transmitting the out of service instruction to the plurality of nodes.

### Claim 7 (depends on 1)

The method of claim 1, comprising:
generating, by the master node, a second mapping having a bit value for each node of the plurality of nodes, the bit value indicating if a client count value for the respective node has a non-zero value or a zero value; and
updating, by the master node, one or more bit values in the second mapping to indicate a non-zero value or a zero value for the client count value for the one or more nodes of the plurality of nodes that provided respective count values.

### Claim 8 (depends on 7)

The method of claim 7, comprising:
resetting, by the master node, the bit value in the second mapping for each node responsive to transmitting the out of service instruction to the plurality of nodes.

### Claim 9 (depends on 1)

The method of claim 1, comprising:
determining, by a master packet engine for each node, a client count value indicating a number of active connections to one or more clients from the node; and
transmitting, by the master packet engine for each node, the client count value to the master node responsive to the transition instruction.

### Claim 10 (depends on 1)

The method of claim 1, comprising:
determining, by a master packet engine for one or more nodes of the plurality of nodes, a client count value for the respective node changed from a non-zero value to the zero value or from the zero value to the non-zero value; and
transmitting, by the master packet engine for the one or more nodes, a subsequent client count value to the master node responsive to the change in the client count value.

### Claim 11

A system comprising:
a master node of a plurality of nodes of a cluster, the master node comprising one or more processors configured to:
receive a disable instruction for a service of the cluster, each node having a plurality of cores to provide one or more connections to one or more client devices using the service;
transmit a transition instruction to instruct the other nodes to stop accepting requests from the one or more client devices for the service; and
responsive to determining that there are no current client connections from the one or more client devices one or more respective nodes of the plurality of nodes, transmit an out of service instruction to each node of the plurality of nodes to disable the service on the cluster.

### Claim 12 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to generate the transition instruction for each node of the plurality of nodes to transition a status the service from active to transition at the plurality of nodes.

### Claim 13 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to:
receive, from each of the other nodes of the plurality of nodes, a client count value indicative of a number of current client connections from the one or more client devices to one or more respective nodes of the plurality of nodes; and
determine that the client count value is a zero value for each node of the plurality of nodes.

### Claim 14 (depends on 13)

The system of claim 13, wherein the one or more processors are further configured to generate a first mapping having a bit value for each node of the plurality of nodes, the bit value indicating if the respective node provided the client count value to the master node.

### Claim 15 (depends on 14)

The system of claim 14, wherein the one or more processors are further configured to update one or more bit values in the first mapping to indicate that one or more nodes of the plurality of nodes provided respective count values.

### Claim 16 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to generate a second mapping having a bit value for each node of the plurality of nodes, the bit value indicating if a client count value for the respective node has a non-zero value or a zero value.

### Claim 17 (depends on 16)

The system of claim 16, wherein the one or more processors are further configured to update one or more bit values in the second mapping to indicate a non-zero value or a zero value for the client count value for the one or more nodes of the plurality of nodes that provided respective count values.

### Claim 18 (depends on 17)

The system of claim 17, wherein the one or more processors are further configured to reset the bit value in the second mapping for each node responsive to transmitting the out of service instruction to the plurality of nodes.

### Claim 19

A non-transitory computer readable medium storing instructions when executed by one or more processors cause the one or more processors to:
receive a disable instruction for a service of the cluster, each node having a plurality of cores to provide one or more connections to one or more client devices using the service;
transmit a transition instruction to instruct the other nodes to stop accepting requests from the one or more client devices for the service; and
responsive to determining that there are no current client connections from the one or more client devices one or more respective nodes of the plurality of nodes, transmit an out of service instruction to each node of the plurality of nodes to disable the service on the cluster.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, further comprising instructions when executed by the one or more processors further cause the one or more processors to:
generate a first mapping having a bit value for each node of the plurality of nodes, the bit value indicating if the respective node provided a client count value to the master node; and
generate a second mapping having a bit value for each node of the plurality of nodes, the bit value indicating if the client count value for the respective node has a non-zero value or a zero value.
