How to set/change/enable persistence connections to the same real server and/or group related protocol services using application grouping – sticky/track group
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
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:
Syntax: server sticky-age <2-60>
Possible values for sticky age are from 2 – 60 minutes. The default is 5 minutes.
server real-name r1 10.0.1.5
server real-name r2 10.0.2.200
server virtual v1 18.104.22.168
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