Forum Discussion
URI Base load balancing in different pools
I have 8 application servers and i have to load balance the traffic in them in 50 different patterns. One option i had was to make a VS for each pattern, Which means different target for the client.
What client want is that they want only 1 VS for load balancing in different pools on the base of URI, like if URI starts with /test then load balance in pool TEST if URI starts with /base then load balance in pool BASE. but only 1 VS.
They have two incoming traffic HTTP and HTTPS. So can i entertain both http and https traffic on 1 VS and load balance traffic on the base of URI? or do i need 2 VS 1 for HTTP and 1 for HTTPS.
3 Replies
- Vitaliy_Savrans
Nacreous
Hi,
you can use something like this irule:
when HTTP_REQUEST { switch -glob [HTTP::uri] { "/test*" { pool TEST } "/base*" { pool BASE } } }and you will need 2 VS for http and https.
- Thanks bro, This iRule will match the URI in iRule one by one for each request, if there are 50 Pools in one iRule will it slow down the traffic? Is it possible through policy-list and apply that policy to VS?
- Vitaliy_Savrans
Nacreous
I donn't think that 50 Pools will slow down traffic
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