Forum Discussion
smalte_85868
Nimbostratus
Mar 10, 2009Help
I have JDedwards installed on 2 servers under Oracle application server.
I have created a virtual server that point to pool of IP addresses pointing to these 2 servers.
My virtua...
hoolio
Cirrostratus
Mar 11, 2009Hi,
You can use LB::select (Click here) to force a load balancing decision in HTTP_REQUEST. This will provide more functionality than a manual round robin selection in your iRule.
Do you want to redirect the client directly to the server though? The client would see the update to the domain name in the address bar and they would not be load balanced for any subsequent requests. Or do you want to rewrite the host header in the request to the server's host header? Will the individual servers only answer if the host header is set correctly?
If you do want to avoid a redirect, you can rewrite the host header using 'HTTP::header replace Host "newhost.example.com". If you need to rewrite the redirects, you can do this in the HTTP_RESPONSE event. You can check if the response is a redirect using HTTP::is_redirect (Click here).
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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
