Forum Discussion
Helena_101649
Jun 26, 2012Nimbostratus
Cookie persistence profile and iRule question
Hello,
I have a Virtual Server with a default pool and a cookie persistence profile, method Cookie insert. I have also an iRule for the Virtual Server, which load balance to the default pool if some URIs are matched and to another pool it there's no match:
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/xxx/*" {
pool pool_default
}
"/yyy/*" {
pool pool_default
}
default {
pool pool_other
}
}
}
My question is: ¿Is the persitence profile used for all the pools or just for the default pool specified in the VS configuration?
Thank's a lot.
- hooleylistCirrostratusHi Zoe,
- Helena_101649NimbostratusThanks. I will try with OneConnect profile. Anyway, I 've realised that persitencie will not resolve my issue. What I want is to avoid the iRule execution once a pool member has been selected. I mean, I don't want the iRule beening processed for every object in the web page, or every page within the same session. But even it persistence is set and working ok, the iRule still executing on every GET/POST, isn't it?
- Helena_101649Nimbostratus¿Any thoughts?..
- nitassEmployeewhen HTTP_REQUEST {
- Helena_101649NimbostratusIt's true, I was wrong about the "return". I think that what I was looking for is more an "event disable all".
- Helena_101649NimbostratusIt's true, I was wrong about the "return". I think that what I was looking for is more an "event disable all".
- nitassEmployeeI think that what I was looking for is more an "event disable all". event disable affects only current connection. i thought you want even new connection (one session may contain many connection) is sent to specific pool member after persistence record has been created.
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