# US 2015/0106516 A1 · Providing a witness service

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

- Number: US 2015/0106516 A1
- Document ID: US20150106516A1
- Status: Published application
- Kind: A1
- Application number: 14/579,871
- Filed: 2014-12-22
- Published: 2015-04-16
- Earliest claimed: 2011-03-29
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Prashanth Prahalad; David M. Kruse; Mathew George; James T. Pinkerton; Thomas E. Jolly
- Web page: https://patentgrep.com/patent/US20150106516A1

## CPC

- H04L 43/0847: {Transmission error}
- H04L 12/1895: {for short real-time information, e.g. alarms, notifications, alerts, updates}
- H04L 43/04: Processing captured monitoring data, e.g. for logfile generation
- H04L 43/0817: by checking functioning
- H04L 67/142: Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 67/1029: using data related to the state of servers by a load balancer
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Described are embodiments directed at providing a witness service that sends notifications with a resource state to clients. Embodiments provide a protocol that includes various messages for registering and receiving notifications regarding the state of a resource. The protocol may include a message for requesting node information from a first node in a cluster. The node information identifies nodes in the cluster that provide a witness service, which monitors a resource. The protocol includes a message that is used to register with the witness service for notifications regarding a state, or state change, of a network or cluster resource. The protocol also includes messages for sending notifications with state information of the resource.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A computer system for providing state notifications to a client, the computer system comprising:
at least one processor;
a memory, operatively connected to the at least one processor and including instructions that, when executed by the at least one processor, cause the at least one processor to perform a method, the method comprising:
receiving, at the computer system, a request for node information regarding a plurality of nodes;
in response to the request, sending a response with the node information, wherein the node information identifies at least two nodes of the plurality of nodes that serve as witness nodes for monitoring a resource;
receiving a registration request at a first node of the plurality of nodes to register for notifications regarding a resource, wherein the first node serves as a first witness node and monitors the resource; and
sending from the first node, a notification with the state of the at least one resource.

### Claim 22 (depends on 21)

The computer system of claim 21, wherein the resource is a network resource and the first node receives events from the network resource.

### Claim 23 (depends on 22)

The computer system of claim 22, wherein the resource is a cluster resource and the first node receives events from a cluster service running on the cluster.

### Claim 24 (depends on 21)

The computer system of claim 21, wherein the notification indicates a failure of the resource.

### Claim 25 (depends on 21)

The computer system of claim 21, further comprising:
receiving a request to connect to the first node; and
sending a response from the first node, the response establishing a session for accessing information on the first node;
wherein the request to connect to the first node and the response establishing a session for accessing information on the first node are formatted according to a file access protocol.

### Claim 26 (depends on 25)

The computer system of claim 25, wherein the request for node information, the response with the node information, the registration request, and the notification are formatted according to a witness protocol that is different from the file access protocol.

### Claim 27 (depends on 26)

The computer system of claim 26, wherein the witness protocol uses report procedure calls (RPC) over a transmission control protocol (TCP) transport.

### Claim 28 (depends on 21)

The computer system of claim 21, wherein the node information identifies a plurality of nodes that serve as witness nodes.

### Claim 29 (depends on 21)

The computer system of claim 21, the method further comprising receiving an unregister request to unregister for the notifications at the first node.

### Claim 30

A computer system for receiving state notifications, the computer system comprising:
at least one processor;
a memory, operatively connected to the at least one processor and including instructions that, when executed by the at least one processor, cause the at least one processor to perform a method, the method comprising:
sending a request to connect to a first node to access information on the first node, wherein the first node is one of a plurality of nodes in a cluster;
receiving a response from the first node, the response establishing a session for accessing information on the first node;
sending a second request for node information regarding the plurality of nodes;
in response to the second request, receiving a second response with the node information;
sending a registration request to the first node to register for notifications regarding at least one resource, wherein the first node serves as a first witness node and monitors the at least one resource; and
receiving, from the first node, a notification with the state of the at least one resource.

### Claim 31 (depends on 30)

The computer system of claim 30, wherein the resource is a resource of the first file node.

### Claim 32 (depends on 31)

The computer system of claim 31, wherein the notification indicates a failure of the first node.

### Claim 33 (depends on 32)

The computer system of claim 32, the method further comprising:
upon receiving a response from the first node, sending an access request to the first node to access information stored on the first node.

### Claim 34 (depends on 30)

The computer system of claim 30, wherein the node information identifies at least two nodes of the plurality of nodes that serve as witness nodes for monitoring a resource.

### Claim 35 (depends on 34)

The computer system of claim 34, wherein the node information identifies an access order for accessing the plurality of nodes.

### Claim 36 (depends on 35)

The computer system of claim 35, wherein the resource is a network resource or a cluster resource.

### Claim 37 (depends on 35)

The computer system of claim 35, wherein the second request includes a request to receive notifications regarding the state of at least one of the first node and a resource on the first node.

### Claim 38

A computer system for providing client communication services, the computer system comprising a server and comprising:
at least one processor;
a memory, operatively connected to the at least one processor and including instructions that, when executed by the at least one processor, cause the at least one processor to perform a method, the method comprising:
establishing a session for providing access to file information stored on the server;
storing witness information identifying at least two other servers in a plurality of servers that provide a witness service and further identifying an order for the at least two servers;
providing a list of servers in the plurality of servers that provide the witness information;
monitoring events regarding at least one resource;
receiving a registration request to register for notifications regarding the at least one resource; and
sending notifications with the state of the at least one resource.

### Claim 39 (depends on 38)

The computer system of claim 38, wherein the resource is a cluster resource and the computer system receives events from a cluster service running on the cluster.

### Claim 40 (depends on 39)

The computer system of claim 39, wherein the notification indicates a failure of the at least one resource.
