Forum Discussion
johnbr_45658
Nimbostratus
May 12, 2009Switching between servers before login completion
Hello,
We have a Bi-IP load balancer in front of two JBoss instances, which I will call 96 and 97. Failover between the instances occurs flawlessly.
We have a frequent problem with HTTP 408 errors on login, and, based on our analysis, here's the sequence of events:
1) User requests login page.
2) LB sends user to 96 or 97
3) User fills in login credentials & submits
4) LB sends the POST to the _other_ server (i.e. 97 or 96)
5) 408 Timeout
I'm also trying to chase this problem down from the JBoss side, but I thought I would also check here - can we get the LB to be more rigorous about sending users to the same server?
- The_Bhattman
Nimbostratus
What kind of persistance are you using? Do the client's appear to be behind a proxy or behind a PAT? - johnbr_45658
Nimbostratus
The two JBoss servers have their own IP addresses, and they both listen on port 80, and the domain name(s) we use map to the Load Balancer. - The_Bhattman
Nimbostratus
Understood. But if you do not use persistance then there is a chance requests would jump between the 2 JBOSS servers. PAT standds for Point Address translations which can when users use a proxy to access JBOSS or through a firewall which translatest the clients address into one address. - johnbr_45658
Nimbostratus
Thanks. - hoolio
Cirrostratus
As cmbhatt was suggesting, you need to enable some mode of persistence in order to instruct LTM to try to persist a client to the same pool member over multiple TCP connections. If you have an HTTP and HTTPS virtual server set up, you can start with source address persistence on both virtual servers. Take a look at SOL5837 for related info (Click here). If that solves the problem, then you can look at more complex persistence options like cookie insert persistence.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects