Forum Discussion
jan_de_wachter_
Nimbostratus
Feb 25, 2014How assign a non-default persistence profile in an irule?
We are using a virtual server for HTTP.
We do selection of pool based on HOST using irule. If sicky persistence is needed we set the persistence to source-addr.
Now we would like to set mir...
jan_de_wachter_
Nimbostratus
Feb 25, 2014When I write a persist "ownname" I get following error message (with irule GUY): 01070151:3: Rule [/Common/testjdw] error: /Common/testjdw:16: error: [badoption][source_addr_mirroring]
my code: when HTTP_REQUEST {
switch -exact "[string tolower [HTTP::host]]" {
"acc-search.infrabel.be" { persist none }
"acc-mediaservice.infrabel.be" { persist source_addr 255.255.255.255 180}
"acc-my.infrabel.be" { persist source_addr_mirroring 0 }
"acc-officeweb.infrabel.be" { persist source_addr 255.255.255.255 180}
default { pool $default_pool }
}}
and I defined source_addr_mirroring as a new persistence profile
Any idea??
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