The TCP reset feature sends a TCP reset to clients that
are connected to servers that have weights of 0. A server's weight
can be 0 if it is configured to 0 or if an advisor marks the server
down.
About this task
This feature is useful for long-lived connections where it
hastens the client's ability to renegotiate a failed connection. A
TCP reset will cause the connection to be immediately closed. When
you activate the TCP reset feature, Load Balancer will send a TCP
reset to the client when the client has a connection to a server with
a weight of 0.
Procedure
Activate the TCP reset to reset connections to down servers.
Avoid trouble: To use the TCP reset feature, you must
set the clientgateway for IPv4 addresses, or clientgateway6 for IPV6
addresses, to a router address. Use the dscontrol executor command.
Clientgateway has to be set for a port that is on IPv4 cluster, and
clientgateway6 has to be set on a port that is on IPv6 cluster.
gotcha
To activate TCP reset, use the following
command:
dscontrol port add|set cluster@port@server reset yes
The
default value for the reset feature is no.