Forum Discussion
eben
Feb 27, 2018Nimbostratus
You can create 40 pools and 1 VIP with a service port of *. then switch application traffic based on TCP::local_port to the backend pools.
when CLIENT_ACCEPTED {
switch -exact [TCP::local_port] {
"8080" {
pool 8080_pool
}
"8090"{
pool 8090_pool
}
"nnnn" {
pool nnnn_pool
}
}
}
HTH
- swjo_264656Feb 27, 2018Cirrostratus
Hi eben.
I also think switching i-Rule.
but that also need 40 pools and hard to modifying pool members.
do you have any idea how to reduce pools?
thanks
- ebenFeb 27, 2018Nimbostratus
You can create just 1 pool with with members listening on all ports (*) but then, application specific health check you mentioned will not be possible. Would you be willing to tradeoff performance for manageability? Also if you decide to create one wildcard pool, the irule won't be needed.
HTH