Nick_Matthews
Oct 22, 2012Altostratus
iRule Persistence
Hi,
I am hoping someone can help? I am having trouble keeping persistence when redirecting to a new pool group.
The setup I have at the moment is:
VIP
Pool - 2 nodes
iRule
when HTTP_REQUEST {
Check the URI, set to lowercase
persist cookie
switch -glob [string tolower [HTTP::uri]] {
"/Folder*" -
"/Folder2/*" -
"/Folder3/*"
{pool HTTPS-ThirdPartyApps} 2 nodes
}
}
When users are filling in the forms under the HTTPS-ThirdPartyApps pool they are being bounced between the 2 servers rather than sticking to one of them.
My questions are:
1. Is there anyway to keep the session to one server?
2. Would I be better using an HTTP Class? And if I did this, would it keep the session persistence?
Thanks for your help
Nick