Forum Discussion
Nat_Thirasuttakorn
Employee
Nov 15, 2004what is full description of persist command in iRule
what is full description of persist command in iRule?
for example:-
persist add ...
persist lookup ...
Peter_Fellwock_
Nimbostratus
Apr 27, 2006My problem is where, I have made that assignment on my profile:
profile persist cookie_hash_4_hours_across_pools_services_vips {
defaults from cookie
mode cookie
timeout 144000
cookie mode hash
cookie name BigIpCookieHash
across services enable
across virtuals enable
across pools enable
}and my VIP says:
virtual communities_http {
destination 216.xxx.180.123:http
ip protocol tcp
profile http tcp
persist cookie_hash_4_hours_across_pools_services_vips
rule communities_http_contains_phoenix_pool_split
}
virtual communites_https {
destination 216.206.180.123:https
ip protocol tcp
profile http communities_clientssl communities_serverssl tcp
persist cookie_hash_4_hours_across_pools_services_vips
rule communities_https_contains_phoenix_pool_split
}and my iRules:
rule communities_http_contains_phoenix_pool_split {
when HTTP_REQUEST {
if { ([HTTP::uri] contains "Phoenix") or ([HTTP::uri] contains "phoenix") } {
pool communities.com_phoenix_http
} else {
pool communities.com_http
}
}
}
rule communities_https_contains_phoenix_pool_split {
when HTTP_REQUEST {
if { ([HTTP::uri] contains "Phoenix") or ([HTTP::uri] contains "phoenix") } {
pool communities.com_phoenix_https
} else {
pool communities.com_https
}
}
}Yet my persistence does not stick! The idea was to remove the project phoenix from the main community site, since they over-grew, but keeping persistence does not work...
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
