Forum Discussion
Luca_55898
Nimbostratus
Oct 12, 2011sticky sessions
Anyone use the 'sticky sessions' persistence profile? From what I understand it keeps session persistence based on the destination IP address. (I assume this is the destination of the pool member th...
Oct 12, 2011
@Diptech, I understand your confusion... You're thinking, but a Virtual server has one address, how can I persist when my destination address is one IP?
First of all Destination Address Affinity persistence is only support with Wildcard Virtual Servers... Going back to my example.. I'm referencing outgoing traffic... In other words Traffic sourced BEHIND the LTM, where the LTM is the gateway for the hosts sourcing traffic..
Be default, the LTM will not pass this type of traffic.. One way to pass this traffic is to set up a Wildcard Virtual server, in this case you would Configure a Fast L4 VS with an address of 0.0.0.0, a mask of 0.0.0.0, and * (any) for port... You would then create a pool of gateways associated with that VS and apply the Destination Address Affinity persistence profile to the VS.. This will ensure the host is persisted to the same gateway.. Remember, in this example the destination address is ANY so the 0.0.0.0 VS is catching any and all traffic sourced behind the LTM destined for any address..
There are also some uses for this type of persistence when load balancing proxy or caching servers… I don’t have any experience with it those scenarios so maybe someone else can chime in here..
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects