Forum Discussion
eben_259100
Cirrostratus
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
eben_259100
Feb 27, 2018Cirrostratus
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