When you set up NSA (CSA) with load balancer and have two servers, it's not possible to login, it does not authenticate
All Supported Clarity Releases
To complete the setup of NSA with Load Balancer, we need the LB to be :
Here is suggested solution with Apache mod_proxy_balancer
Suggested Steps for Citrix ADC Netscaler:
Configure the Custom Cookie Persistence:
Changes on Apache as example:
<VirtualHost *:80>
ServerName lb.example.com
ProxyPreserveHost Off
Header add Set-Cookie "BALANCEID=balancer.%{BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED
<Proxy "balancer://nsacl">
BalancerMember "https://xxxxx:8090" route=node1
BalancerMember "https://xxxxx:8090" route=node2
ProxySet lbmethod=byrequests stickysession=BALANCEID
</Proxy>
ProxyPass "/" "balancer://nsacl/"
ProxyPassReverse "/" "balancer://nsacl/"
</VirtualHost>