Forum Discussion
Irule to use different persistence cookie by node
Now I need to insert the cookie to each node. Please could you help finish this configurtion?
doesn't default cookie persistence work since pool name is included in cookie name?
K6917: Overview of BIG-IP persistence cookie encoding
https://support.f5.com/csp/article/K6917by the way, i think the switch should look like this.
switch -glob [HTTP::host][HTTP::uri] {
"URL/XXXX*" {
pool Pool1
}
...
- impala_38421Feb 01, 2018Nimbostratus
Hi nitass,
Thanks for your answer and sorry for my delay.
I want review you suggestion and trying to configure the irule as follow
switch -glob [HTTP::host][HTTP::uri] { "https://xxx.xxx.com/xxxxx" { pool Pool1 } "https://xxx.xxx.com/yyyyy" { pool Pool2 } "https://xxx.xxx.com/zzzzz" { pool Pool3 } }
Now the original request has changed and I need insert http cookie for each pool.
This is an example:
switch -glob [HTTP::host][HTTP::uri] { "https://xxx.xxx.com/xxxxx" { pool Pool1 persist cookie insert <> } "https://xxx.xxx.com/yyyyy" { pool Pool2 persist cookie insert <> } "https://xxx.xxx.com/zzzzz" { pool Pool3 persist cookie insert <> } }
Do you think that is this the correct configuration?
Many Thanks,
Jordi
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