Chris_Phillips
Feb 05, 2011Nimbostratus
assignment to pool and uie persist to member
Hi,
I've a slightly odd scenario I'm trying to work out as slickly as possible with LTM's (before we've received them, so dev is hard...). We have a web app (apache fronting tomcat) of which we are going to be running up to 5 different versions of code (i.e. 5 pools), and we need a way to be able to reach a chosen pool but always using the same FQDN, as the web apps will always serve out dynamic content with the same fqdn in it's code etc... Now I think I can do something like say on the first connection, when some, currently undefined, condition is not met to send directly back a simple pool choice page from the LTM itself, but I'm unclear on the persistence that's possible when dynamically allocating pools.
I think I will want to use universal persistance, using XFF it's it there (most clients come via akamai) and if not, source IP (local users), but I'm not certain how simple this solution can be. If in my iRule the user (after clicking on a link in my pool choice page) comes in with a uri like /pool/a and I use that to set their pool to pool-web-a, and then strip that out of the uri before passing to the pool, what else will i need to ensure that all connections come through from that client to the same back end server, as it's not just the member of a pool, but the pool itself which needs to be persisted (unless in reality in the persistence code the pool doesn't actually figure in the code logic)
I think I would want to use persist uie, but maybe I should be using an inserted cookie instead? Is there any scenario where we could provide a solution allowing multiple browser instances on the same client to be persisted to different backends? I guess using different browsers (FX / Chrome) would permit different sets of cookies, but if I used UIE then they would all be persisted at the client level, right? Or is the point of UIE that I could actually also use the user-agent or similar to personalise the persistence data further?
Thanks
Chris