Application Delivery (ADX)

Setting/Changing/Enabling Persistence connections - sticky/grouped protocol services

by pmorrissey on ‎05-21-2009 10:42 PM (136 Views)

    

Summary

How to set/change/enable persistence connections to the same real server and/or group related protocol services using application grouping – sticky/track group

Specifics

Figure below shows an example of servers configured with sticky ports and an application group. In this example, the content on each real server is identical. However, some applications on the server require that clients use the same server for subsequent requests to application and/or group related application services to the same real server.

The virtual server is configured to make the ports sticky and to group the TFTP and Telnet ports and the HTTP port.


If you did not want to group the protocols, you would just use the port sticky without the track-group comannd

image004.jpg

The example below illustrate the track group function. The sticky parameter makes the TCP/UDP ports sticky.

The track group command groups the Telnet port (23) and the TFTP port (69) and the HTTP port (80);. The track group function works similarly to the track port function. With the track port function, the client uses the same server for applications associated with the grouped ports, as long as the primary port is active. In contrast, with the track group function, the client uses the same server for applications associated with the grouped ports, as long as all the ports in the group are active. After the ServerIron ADX sends a client to a real server for any of the grouped ports, subsequent requests from that client for any of the grouped ports go to the same real server After the ServerIron ADX sends a client to a real server for the HTTP port, subsequent requests from that client for the HTTP, TFTP, or Telnet port go to the same real server.


Sticky age can be set globally, enter the following:
server sticky-age 20
To set the sticky age for an individual virtual server, enter  the following:
sticky-age 20
Syntax: server sticky-age <2-60>
Possible values for sticky age are from 2 – 60 minutes. The default is 5 minutes.

Sample Script/Code/Configuration

!
server real-name r1 10.0.1.5
port http
port tftp
port telnet
!
server real-name r2 10.0.2.200
port http
port tftp
port telnet
!
server virtual v1 209.157.22.1
sticky-age 20
port 80 sticky
port 69 sticky
port 23 sticky
track-group 80 69 23
bind 80 r1 80 r2 80
bind 23 r1 23 r2 23
bind 69 r1 69 r2 69

Tips / Caveats

Further Reading