Clearing all keepalive connections – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 309
![background image](/manuals/361724/309/background.png)
Brocade Virtual ADX Server Load Balancing Guide
293
53-1003247-01
Miscellaneous Layer 7 switching configurations
5
This feature works only when Content Switching is enabled on a virtual server port. if pipelined
HTTP requests are sent in one connection, the Virtual ADX makes the switching decision based on
the first request and forwards only the first request to the real server. When the real server sends a
complete response to the first request, the Virtual ADX will forward the response to the client. After
the client acknowledges the complete response, the Virtual ADX closes the connection by sending
a RST to the client.
NOTE
Resetting the HTTP connection can be done in either the keepalive mode or the TCP offload mode.
To reset a pipelined HTTP request in the keepalive mode, first make sure Content Switching is
enabled on a virtual server port that will be used for the pipeline reset request.
Then, enter commands such as the following.
Virtual ADX(config)#server virtual-name-or-ip VS1 10.10.10.10
Virtual ADX(config-vs-VS1)#port http
Virtual ADX(config-vs-VS1)#port http keep-alive reset-pipeline-request
Syntax: [no] port [portid] keep-alive [reset-pipeline-request]
To reset pipelined HTTP request in the TCP offload mode, enter commands such as the following.
Virtual ADX(config)#server virtual-name-or-ip VS1 10.10.10.10
Virtual ADX(config-vs-VS1)#port http
Virtual ADX(config-vs-VS1)#port http tcp-offload reset-pipeline-request
Syntax: [no] port port tcp-offload [age minutes] [reset-pipeline-request]
or
Syntax: [no] port port tcp-offload [reset-pipeline-request]
Clearing all keepalive connections
To delete all keepalive server side connections on all the applicable virtual servers, enter the
following command on the Brocade Virtual ADX.
Virtual ADX#clear server keep-alive virtual
Syntax: [no] clear server keep-alive [virtual | real] [server-name] [port]
Enter virtual if you want to delete all the keepalive connections associated with the virtual server, or
real if they are to be deleted from the specified real server.
The optional server-name and port variables specify the name or port of the virtual or real server
from where you want to delete the keepalive server-side connections. When you enter this
command, all the keepalive connections will be removed from the reuse pool. The Brocade Virtual
ADX sends reset packets to the real or virtual servers to close any open connections.