Forum Discussion
Gbps_31870
Nimbostratus
Nov 28, 2011Persistence Issue
Hi All,
From the subject, I assumed it's a persistance issue, but let me brief my issue below in details.
I have two pools associated with one VS as following:
1- Pool1 (...
hoolio
Cirrostratus
Nov 28, 2011Hi Gbps,
See Spark's timely explanation in this post for why this is happening:
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/52/aft/2156819/showtab/groupforums/Default.aspx2234364
You can either fix this by specifying the default pool in the iRule or adding a OneConnect profile to the virtual server. For the latter, if you're using SNAT you can use the default OneConnect profile with a /0 source mask. If you're not doing serverside source address translation, create a custom OneConnect profile with a /32 source mask:
http://devcentral.f5.com/wiki/AdvDesignConfig.ONECONNECT.ashx
when CLIENT_ACCEPTED {
Save the name of the VS default pool before this iRule changes it
set default_pool [LB::server]
}
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/xyz1*" -
"/xyz2*" -
"/xyz3*" { pool Pool2 }
default { pool $default_pool }
}
}
Aaron
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