Forum Discussion
universal persistence issue
We are facing a strange problem with universal persistence.
We have one vip on port 443 in which we have one default pool (Pool A)
other than that there are 2 additional pools (Pool B,C) to which request is redirected based on URI and it is persisted via iRule.
The iRule is :
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/api/xyz*" {
pool "Pool B"
persist uie [HTTP::header "objectId"] 300
}
"/api/abc*" {
pool "Pool C"
persist uie [HTTP::header "objectId"] 300
}
default {
pool "Pool A"
persist none
}
}
}
The default static requests are routed to Pool A, while /api http calls which contains objectId in headers are persisted to respective Pools (B & C) based on URI.
Now sometimes not always the request for Pool B /api/xyz* are load balanced in round robin fashion and are not persisted within the same time period (same as persistence TTL of 300 sec.) This is causing our critical application to crash.
We want if the connection is established for first time it should be persisted to same node every time.
Our client call these http calls /api/xyz* with every long poll of 55 seconds so i don't think the persistence record is getting cleared it should reset again for every request.
We don't have much logging enabled in production as well as the access is restricted so we can't say much what exactly is happening.
Can anyone help us around this. What exactly are we doing wrong here? Or there is some area other than persistence that we have to look into.
Thanks in advance.
- Narendra_26827NimbostratusCan anybody help me on the above.
- natheCirrocumulusNarendra
- Narendra_26827NimbostratusThanks Nathan for your reply.
- Narendra_26827Nimbostratusanybody?
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