Cross-port affinity | Active-cookie affinity


Load Balancer: Passive cookie affinity


Passive cookie affinity is based on the content of cookies (name/value) generated by the HTTP server or by the application server. You must specify a cookie name to be monitored by Load Balancer in order to distinguish which server the request is to be sent to.

If the cookie value in the client request is not found or does not match any of the cookie values of the servers, the most appropriate server at that moment will be chosen by Load Balancer.

This feature requires that CBR forwarding is used and works only on HTTP ports, not on HTTPS ports, because Dispatcher cannot decrypt SSL content. For content-based routing of HTTPS traffic you would need to use the Load Balancer CBR component in conjunction with 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.

Although looking at cookies could help to overcome the drawbacks of source IP affinity, there are reasons why this type of affinity does not work well with WebSphere Commerce generated cookies: