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
}
- hoolio
Cirrostratus
Hi Mike,
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