Forum Discussion
irule only working intermittently
Hi
We are using the following irule, when we visit the site https://xyz.site.co.uk the majority of the time it doesnt work until two or three refreshes. Can anyone advise what the problem could be?!
when HTTP_REQUEST { switch -glob [string tolower [HTTP::host]] { “abc.site.co.uk” { pool pool_websites_https member 10.1.2.1 80 } “xyz.site.co.uk” { pool pool_websites_https member 10.1.2.2 80 }
default { pool pool_websites_https } } }
The site is on vip 10.1.0.50.
Cheers.
5 Replies
- nathe
Cirrocumulus
I wonder if it's a simple tcp connection/http request issue. A bigip is connection orientated so multiple http requests on the same tcp connection might not be delivered to the right pool if you're doing this selection in an irule.
See Using an iRule to load balance HTTP requests to multiple pools
I'd try a oneconnect profile on the virtual server.
Hope this helps,
N
- cymru81
Altocumulus
its not a live vip so only I would be connecting?
what is a oneconnect profile?
is there a better irule I could use to achieve this?
- nitass
Employee
when we visit the site https://xyz.site.co.uk the majority of the time it doesnt work until two or three refreshes.
have you tried http analyzer tool or tcpdump?
httpfox
https://addons.mozilla.org/en-us/firefox/addon/httpfox/ - dragonflymr
Cirrostratus
Hi,
Probably it's too basic but maybe worth asking - is this vip terminating SSL or working as proxy SSL?
Piotr
- cymru81
Altocumulus
any other suggestions for a better rule then please :)?
the vip has the ssl profile but it forwards onto http internal connections.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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