Forum Discussion
Web Server consolidation fronted by Wildcard Cert design question....
Totally understand that, but the solution depends on the consolidated implementation. For example, let's say you have 54 applications spread across 20 app servers, using different ports. You'd create a pool for each application, and then load balance the requests to those pools based on the Host header in the request. For simplicity (and maintainability) I'll use a data group to manage the large set of URLs.
Data group (string-based). my-url-dg
www.example.com := pool1
www.foobar.com := pool2
www.barfoo.com := pool3
iRule
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::host]] equals my-url-dg] } {
pool [class match -value [string tolower [HTTP::host]] equals my-url-dg]
}
}
So when a request comes in it's sent to the correct pool based on the Host header in the request. The beauty in this design is that you can scale, load balance, and monitor the health of these servers in their individual pools.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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