Forum Discussion
matthew_b_16251
Nimbostratus
Nov 25, 2015Device Load Balacing on Device Header Information
Hi All,
I need some help with the below irule we have created a vip with a one connect profile and applied the below irule. When a connection has X-DeviceID or new X-NewCust header we want the p...
matthew_b_16251
Nimbostratus
Nov 25, 2015How can we set the persist to last only 5 minutes on the HTTP Connect for devices with the required header? Also if a new request comes in with the same match on another connection would the persist extend 5 minutes?
Thanks Matt
- Amine_KadimiNov 25, 2015
MVP
To persist 5 minutes: persist uie [HTTP::header headerABC] 300 and yes, whenever a peristence record is matched, the 5 minutes timer resets. - matthew_b_16251Nov 25, 2015
Nimbostratus
Ok so something like below.. Thanks for your help will test this. when HTTP_REQUEST { if { [HTTP::header exists X-DeviceID] } { persist uie [HTTP::header X-DeviceID] 300 } elseif {[HTTP::header exists X-NewCust] } { persist uie [HTTP::header X-NewCust] 300 } else { persist source_addr } }
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