Forum Discussion
Mike_73765
Nimbostratus
Aug 11, 2010Persistence across virtual servers
Hi guys,
I want to utilize persistence across virtual servers. Below is an example config. I tried cookie hash but it broke the application. There are 2 pools (the same physical servers), one using port 80 and the other using port 8008. A user logs in to the web portal, and within the application, clicks a link that points them to the virtual server on port 8008. When the user clicks that link to the port 8008 app., I would like them to be directed to the node that is serving their web connection. Is there a better way to do persist across virtual servers? I don't think source address affinity is an option.....what about universal?
virtual vs_TEST_HTTP {
destination 10.10.11.234:http
ip-protocol tcp
mask 255.255.255.255
persist {
cookietest }
pool p_test
profiles {
http { }
tcp { }
}
rules {
pool_failure_redirect
}
snat automap
}
virtual vs_Resource_Test {
destination 10.10.11.234:http-alt /*port 8008*/
ip-protocol tcp
mask 255.255.255.255
persist { cookietest }
pool p_test profiles {
http { }
tcp { }
}
snat automap
}
cookie cookietest {
cookie-name cookietest
defaults-from cookie
hash-length 3
hash-offset 6
match-across-pools enabled
match-across-services enabled
match-across-virtuals
enabled method hash mirror disabled
override-connection-limit disabled
timeout 14400
}
1 Reply
- hoolio
Cirrostratus
Hi Mike,
Deb had a few suggestions for a related scenario in this old post:
http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/aff/5/aft/16855/afv/topic/Default.aspx17626
There area few other posts I remember on this, but I'm not having much luck finding them at the moment. If neither the port 0 pool option or iRule look like they'll work for your scenario, let me know and I'll do some more hunting.
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
