Forum Discussion
Mahi
Cirrus
Hello Pete,
The solution of different virtual servers is what we tried and it worked. The design team want to reduce the number of virtual servers and use policies for some reason.
I am seeing a 'Reset' packet from the virtual server with the reason 'No server selected' in the packet capture. Somehow the policy is not kicking in. Any thoughts?
Mahi
Apr 02, 2020Cirrus
ltm policy _WebApp_port_based_pool_selection {
controls { forwarding }
description "Pool selection based on destination port for WebApp only"
last-modified 2020-04-02:08:28:15
requires { http tcp }
rules {
odessa.company.pvt {
actions {
0 {
forward
select
pool WebApp_odessa.company.pvt
}
}
conditions {
0 {
tcp
port
values { 40000 }
}
ordinal 2
}
jasper.company.pvt {
actions {
0 {
forward
select
pool WebApp_jasper.company.pvt
}
}
conditions {
0 {
tcp
port
values { 40005 }
}
}
}
xyz.com {
actions {
0 {
forward
select
pool AzureWebApp_xyz
}
}
conditions {
0 {
tcp
port
values { 55000 }
}
}
ordinal 1
}
}
status published
strategy all-match
}
(END)