This documentation is for older WSO2 products. View documentation for the latest release.
Page Comparison - API Manager Clustering Deployment Patterns (v.40 vs v.41) - Clustering Guide 4.2.0 - WSO2 Documentation

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



In a clustered environment, you use Session Affinity to ensure that requests from the same client always get routed to the same server.

It is mandatory to set up Session Affinity in the load balancers that front the Publisher and Store clusters, and it is optional in the load balancer (if any) that fronts a Key Manager cluster.

However, authentication via session ID fails when Session Affinity is disabled in the load balancer.

The Key Manager first tries to authenticate the request via the session ID. If it fails, the Key Manager tries to authenticate via basic authentication.