Forum Discussion
cyber_18706
Nimbostratus
Jul 31, 2009Persistence URGENT
Hi all,
I would like to make persistence based on a paramater called "x-nokia-gid".
Here is my irule that seems not to work (i find this parameter on 2 different hosts behind the load balancer) :
when HTTP_REQUEST {
set xnokiagidgly [HTTP::header "x-nokia-gid"]
set xcallinggly [HTTP::header "x-up-calling-line-id"]
if { $xnokiagidgly equals "" }
{
log local0. "xnokiagid vide : $xnokiagidgly"
persist none
pool pool-gly-as
}
else {
set keygly [list $xnokiagidgly any]
persist uie $keygly 600
}
}
Could you help me please ?
- hoolio
Cirrostratus
Do clients connect to multiple virtual servers? If not, and you're using only this rule, I don't think you need to add 'any' to the persist command. - cyber_18706
Nimbostratus
the client make a request to the VIP then behind the vip the request is sent to the two servers. The goal is that if it has started on a server, it doesn't change. - cyber_18706
Nimbostratus
PERSISTENT CONNECTIONS - hoolio
Cirrostratus
Ah, that's helpful. So you're on a platform and version which supports CMP. CMP and persistence don't work so well in current versions. And there is a bug whereby CMP isn't automatically disabled on virtual servers which use persistence (with an exception of cookie insert). See these solutions for details: - hoolio
Cirrostratus
So you have a Viprion then. I don't have much experience with the platform. If you find out any more on this could you reply here?
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