Application Delivery (ADX)

Setting/Changing/Enabling Persistence connections - SLB persistent hashing

by pmorrissey on ‎05-22-2009 01:40 AM - edited on ‎10-30-2013 05:43 PM by bcm1 (586 Views)

Summary

How to set/change/enable persistence connections to the same real server for longer periods than what "sticky" function provides. Use persistent-hash capability

Specifics

Figure below shows an example of virtual server configured to make the ports sticky and to ensure the same clients always go back to the same real server for TFTP and the HTTP port for some application considerations while telnet will remain on the same real server until the sticky age timer is expired

 image002.jpg

 

 

    

When persistent hashing is configured for a VIP, the round robin predictor for VIP is automatically enabled. This
default is used to evenly distribute hash assignments.

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

port http persist-hash

port 69 persist-hash

port 23 sticky

bind 80 r1 80 r2 80

bind 23 r1 23 r2 23

bind 69 r1 69 r2 69

 

 

Tips / Caveats

Further Reading

Application Grouping and Real Server Persistence

Contributors