I am using the session affinity function in Google Load Balancer. However I have the problem as below.
When gave stress A-WEB Server, access server changed to B-WEB Server. According to LB parameter, when CPU utilization over 80%, changing access server. But I configured session affinity for keeping access.
I would like to keep access same server, am I missing something?
Architecture
Building 2 WEB Server with DB under the LB to search the data about some information.
Configuration LB Parameter
- Balancing mode : Utilization
- Maximum CPU utilization : 80% (default)
- Capacity : 100% (default)
- Session affinity : generated cookie
- Affinity coolie TTL : 1800
- Connection request headers : 300
- Security policy : None