System and method for rapidly ending communication protocol connections in response to node failure
First Claim
Patent Images
1. A method comprising:
- detecting a failed node within a cluster, whereinthe failed node communicates with a client via a communication protocol connection;
sending a communication protocol message to the client, in response to the detecting the failed node, whereinreceipt of the communication protocol message causes the client to terminate the communication protocol connection,the detecting and the sending are performed by a node other than the failed node;
obtaining a first parameter associated with the communication protocol connection, whereinthe communication protocol message comprises a second parameter derived from the first parameter,the communication protocol connection is a Transmission Control Protocol (TCP) connection, andthe obtaining the first parameter associated with the communication protocol connection is performed prior to detection of the failed node; and
rewriting a message for transmission to the client, wherein the rewriting comprises;
replacing a first media access control destination address, which identifies a watch guard node, with a second media access control destination address, which identifies a common gateway; and
replacing a first protocol type with a second protocol type.
9 Assignments
0 Petitions
Accused Products
Abstract
Various methods and systems for ending a communication protocol connection in response to detecting the failure of a cluster node are disclosed. One method involves detecting a failed node within a cluster. The failed node communicates with a client via a communication protocol connection. In response to detecting the failed node, a communication protocol message is sent to the client. Receipt of the communication protocol message causes the client to terminate the communication protocol connection.
40 Citations
7 Claims
-
1. A method comprising:
-
detecting a failed node within a cluster, wherein the failed node communicates with a client via a communication protocol connection; sending a communication protocol message to the client, in response to the detecting the failed node, wherein receipt of the communication protocol message causes the client to terminate the communication protocol connection, the detecting and the sending are performed by a node other than the failed node; obtaining a first parameter associated with the communication protocol connection, wherein the communication protocol message comprises a second parameter derived from the first parameter, the communication protocol connection is a Transmission Control Protocol (TCP) connection, and the obtaining the first parameter associated with the communication protocol connection is performed prior to detection of the failed node; and rewriting a message for transmission to the client, wherein the rewriting comprises; replacing a first media access control destination address, which identifies a watch guard node, with a second media access control destination address, which identifies a common gateway; and replacing a first protocol type with a second protocol type. - View Dependent Claims (2)
-
-
3. A system comprising:
-
a watch guard node comprising; a cluster module, wherein the cluster module is configured to detect node failures within a cluster; and a connection reset module coupled to the cluster module;
whereinthe connection reset module is configured to initiate termination of a communication protocol connection to a primary node, if the cluster module detects that the primary node is failed, and the primary node, wherein the primary node is configured to send a communication protocol message to a client via the communication protocol connection, the communication protocol message comprises a destination address, the destination address identifies the watch guard node, and the connection reset module is configured to; extract a communication protocol connection parameter from the communication protocol message; rewrite the destination address to identify a common gateway; and send the communication protocol message to the common gateway.
-
-
4. A computer readable storage medium comprising program instructions executable to:
-
detect a failed node within a cluster; send a communication protocol message to a client, in response to the detecting the failed node, wherein receipt of the communication protocol message causes the client to end a communication protocol connection to the primary node, and the communication protocol message is sent from a node other than the failed node; obtain a first parameter associated with the communication protocol connection, wherein the communication protocol message comprises a second parameter derived from the first parameter, and the communication protocol connection is a Transmission Control Protocol (TCP) connection; initiate failover of an Internet Protocol (IP) address from the failed node to a watch guard node; send a communication protocol probe from the watch guard node to the client, wherein the communication protocol probe queries the client for current connection parameters; and extract the first parameter from a probe response sent by the client.
-
-
5. A system comprising:
-
means for detecting a failed node within a cluster; means for sending a communication protocol message to a client, in response to the detecting the failed node, wherein receipt of the communication protocol message causes the client to terminate a communication protocol connection to the failed node, and the communication protocol message is sent from a node other than the failed node; means for obtaining a first parameter associated with the communication protocol connection, wherein the communication protocol message comprises a second parameter derived from the first parameter, the communication protocol connection is a Transmission Control Protocol (TCP) connection, and the obtaining the first parameter associated with the communication protocol connection is performed prior to detection of the failed node; and means for rewriting a message for transmission to the client, wherein the means for rewriting comprises; means for replacing a first media access control destination address, which identifies a watch guard node, with a second media access control destination address, which identifies a common gateway; and means for replacing a first protocol type with a second protocol type.
-
-
6. A method comprising:
-
detecting a failed node within a cluster, wherein the failed node communicates with a client via a communication protocol connection; sending a communication protocol message to the client, in response to the detecting the failed node, wherein receipt of the communication protocol message causes the client to terminate the communication protocol connection, the detecting and the sending are performed by a node other than the failed node; obtaining a first parameter associated with the communication protocol connection, wherein the communication protocol message comprises a second parameter derived from the first parameter, the communication protocol connection is a Transmission Control Protocol (TCP) connection, and the obtaining the first parameter comprises; failing over an Internet Protocol (IP) address from the failed node to a watch guard node, sending a communication protocol probe from the watch guard node to the client, wherein the communication protocol probe queries the client for current connection parameters, and extracting the first parameter from a probe response sent by the client. - View Dependent Claims (7)
-
Specification