Forum Discussion
multiple requests in single tcp connection via irule without oneconnect
- Apr 19, 2015
unRuleY said the simliar thing before.
https://devcentral.f5.com/questions/one-https-virtual-to-several-https-poolsi see. that means you explicitly select a pool/pool member in the irules, doesn't it?
You can ensure that the existing server-side connection is detached by following one of the following two recommendations: • Applying a OneConnect profile to the virtual server • Explicitly coding the iRule to select a pool under every possible condition
sol9800: Using an iRule to load balance HTTP requests to multiple pools
https://support.f5.com/kb/en-us/solutions/public/9000/800/sol9800.html
yeah,I made one test to prove this:
ltm virtual vs1 {
destination 10.131.113.246:http
ip-protocol tcp
mask 255.255.255.255
profiles {
http-no-overflow { }
serverssl {
context serverside
}
tcp-lan-optimized {
context serverside
}
tcp-wan-optimized {
context clientside
}
}
rules {
rule1
rule2
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 84
}
in the single tcp connection client :10.80.8.245 port 18758 ----- VS 10.131.113.246 port 80 I made insert selected pool as header to http_response.
first image shows response from pool1 10.131.113.73
first image shows response from pool2 10.131.113.88
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