Forum Discussion
layer4-payload UUID persistence
Hi,
Anyone got experience with translating Cisco ACE layer4 payload UUID pattern to F5 irules? I got this piece of Cisco config to convert to F5
sticky layer4-payload Mylayer4-payload
timeout 15
replicate sticky
serverfarm MyPool
layer4-payload begin-pattern "[/]UUID[=]" end-pattern "\x20HTTP[/]"
any advice of where do I start with this?
2 Replies
- Brad_Parker
Cirrus
You will have to use universal persistence and write an irule that will parse the payload for identifier you are looking for. Looks like your payloads contain UUID= somewhere and your ACE uses it value to persist. Do you know where that is in the payload? Is it always in the first x amount of bytes?
- Stanislas_Piro2
Cumulonimbus
You can try this irule:
when HTTP_REQUEST { extract UUID parameter value from URI set uuid [URI::query [HTTP::uri] UUID] if { !($uuid equals "") } { persist uie $uuid } } when LB_SELECTED { add a persistence record when pool member is selected. if { !($uuid equals "") } { persist add uie $uuid } }
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