Forum Discussion
Andy_McGrath
Cumulonimbus
Create a new monitor and new pool for each web application. Then forward traffic based on the path to the correct pool.
Example:
- App1 path = /dct/
- App2 path = /zct/
- App3 path = /yct/
Create a monitor per application.
Create a pool per application with the same pool members but assign the associated monitor.
Using iRule or Traffic Policy to select the pool based on the URL:
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
/dct* {
pool app1_dct_pool
}
/zct* {
pool app2_zct_pool
}
/yct* {
pool app3_yct_pool
}
default {
# Using default assigned pool
pool [LB::server pool]
}
}
}
dlogsdonmd
May 22, 2019Nimbostratus
Hi Andy,
So, new pool/monitor for the app in question and apply the iRule for the default site and the application to the existing VIP. Is that what you are saying?
I understand your iRule structure I think but will have to test it out. And where should I apply the iRule? to my HTTP or HTTPS VIP and above/below my slow post rule?
Thanks for your help.
Diane