Forum Discussion
smac8213_85838
Nimbostratus
Dec 03, 2007Change TCP Timeout for specific URL
I'm very new to iRules and have searched around to no-avail.
Is there a way to load a specific profile from within an iRule? The reason for this is we'd like to adjust the TCP timeout value for connections but only to certain web pages.
Rather then impacting everything by a global change, it'd be great to only do this at a page level.
My first thought was load a different profile but i couldn't figure out a way to do that. Maybe there's another or better way?
Thanks for any help.
-Scott McLaughlin
2 Replies
- Patrick_Chang_7Historic F5 AccountThe PROFILE commands only read the values in the profiles. They cannot be used to set the profiles. Switching profiles would be a global setting for everyone connecting to the Virtual Server. It cannot be done on a connection by connection basis.
- Joel_Moses
Nimbostratus
We handled this by creating three VSes - one with a profile tuned to LAN, one tuned to WAN, and one tuned to extreme-conditions WAN connections. The LAN and WAN profiles are pretty much vanilla LAN/WAN profiles in 9.4, and the remaining one is meant for high-latency connections.
From there we have two ways of determining how to stick the connection to a particular VS -- the first is GTM -- it assigns most everyone to either the WAN VS or the Extreme WAN VS based on topology lookup (overseas networks are sent EWAN-VS, everyone domestic gets WAN-VS). We then use an iRule on each VS (the same iRule applied to all VSes actually), that detects connections coming in with the "base" hostname and issues a quick redirect to either stick them to the VS they need, or redirect them to a new VS based on a source network check.
Does this make sense? If you need additional explanation, let me know.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects