Forum Discussion
Harris_Hassan_3
Nimbostratus
Feb 20, 2008Issues load balancing web servers
Hi guys ,
Appreciate some help for one of my installations that didn't go as planned due to some oversight on both my and customers end.
Initially it seems like a normal web server...
kykong_107132
Nimbostratus
Feb 22, 2008Hi Harris,
wondering where is the backend server default gw? it's point to F5 floating IP? if not, you might need to either change the server gateway point to F5 or enable snatautomap. this is because we need to force the return path back to F5 LTM.
maybe you might want to test telnet backend server port 80 from F5 LTM, just to make sure not layer 2 problem.
for your first question, wondering is both backend servers consists both applicaitons (houseloan and studentloan) content? if yes, we can use iRule to insert the particular uri for the applicaiton when it hit the correct VS.
example:
assuming your have VS 10.2.1.3 is for houseloan and 10.2.1.4 is for studentloan.
VS
------
VS_houseloan (pool members webserver1 and webserver2)
VS_studentloan (pool members webserver1 and webserver2)
write an irule,
when HTTP_REQUEST {
if { [HTTP::uri] contains "houseloan" } {
pool houseloan_pool
} else {
HTTP::redirect "http://[HTTP::host]houseloan"
}
}
* note: you might need to tweak the irule base on your application behavior
associate this irule to VS_homeloan.
with this configuration, F5 will do the uri redirection instead of backend server.
once the traffic get load balance to the backend server with the correct URI, backend server should be able to send the request to the correct path, in this case will be houseloan path.
do the same steps for studentloan.
hope it works for you.
regards,
KY
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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