Forum Discussion
venu_96110
Nimbostratus
Nov 22, 2008How to divide traffic between nodes along with persistence in place
Hello,
My requirement is to divide the traffic between the two nodes that i have with 75% to one node and 25% to another node. Also once the users lands on one particular node should get passed to the same without fail as each node will have slight changes in product implementation. I have come up with the following solution. Please review and let me know if there are any better approaches or can i do use the below implementation i have come up with.
node 192.168.1.151 {
screen test01
ratio 3
}
node 192.168.1.152 {
screen test02
}
pool test_http_pool {
lb method member ratio
monitor all http
member 192.168.1.151:http ratio 3
member 192.168.1.152:http
}
pool test_https_pool {
lb method member ratio
monitor all https
member 192.168.1.151:https ratio 3
member 192.168.1.152:https
}
virtual test_http_virtual {
destination 111.222.333.444:http
ip protocol tcp
profile http tcp
persist source_addr
pool test_http_pool
}
virtual test_https_virtual {
destination 111.222.333.444:https
ip protocol tcp
persist source_addr
profile http tcp test_ssl_profile
pool test_http_pool
}
Thanks,
Venu
1 Reply
- hoolio
Cirrostratus
Hi Venu,
That looks good. You shouldn't need the https pool if you're decrypting (and not re-encrypting) the client traffic. You could also use cookie insert persistence for both VIPs as you're using the same pool for both VIPs.
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