Passive cookie affinity | URI affinity
Load Balancer: Active-cookie affinity
Active-cookie affinity enables load balancing Web traffic with affinity to the same server based on cookies generated by the Load Balancer. This function is enabled by setting the sticky time of a rule to a positive number, and setting the affinity to cookie.
The generated cookie contains:
- The cluster, port, and rule
- The server that was load balanced to
- A timeout time stamp for when the affinity is no longer valid
Active cookie affinity formats the cluster/port/server/time information into a key value in the format of IBMCBR#####, so the IP and configuration information is not visible to the client browser.
The active cookie affinity feature applies only to the CBR component, which requires IBM WebSphere Edge Components Caching Proxy. This configuration is beyond the scope of this book. Refer to Concepts, Planning, and Installation for Edge Components Version 6.0, GC31-6855, for more information.