Forum Discussion
jdekrnl_118963
Nimbostratus
Aug 06, 2013Rewrites to different virtual servers
I was wondering if any of you may have any suggestions on how to solve a desgin problem. The attached picture may give an idea of our current set up. I am new to F5, so I apologize if this is a trivi...
jdekrnl_118963
Nimbostratus
Aug 06, 2013Yes, we are using cookie as persistence type. I was under the impression that you could only use the pool command within the same virtual server.
Here is the simple iRule that currently does the round robin redirectd:
when RULE_INIT {
set ::lb_counter 1
}
when HTTP_REQUEST {
if { $::lb_counter == 1 } {
HTTP::redirect http://10.1.10.11:8081
set ::lb_counter 2
return
} elseif { $::lb_counter == 2 } {
HTTP::redirect http://10.1.10.12:8082
set ::lb_counter 1
}
}
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