Forum Discussion
bert_92443
Nimbostratus
Sep 13, 2012adding 2 pool into the same virtual-server
I have 2 pools - YAYA_80 with member 172.16.20.1:80 and 172.16.20.2:80
and a second pool YAYA_0 with member 172.16.20.3:0 and 172.16.20.4:0
I would like to have a single virtual-server 10.1...
hoolio
Cirrostratus
Sep 13, 2012CLIENT_ACCEPTED 🙂
when CLIENT_ACCEPTED {
if { [ IP::protocol ] == 6 } {
if { [TCP:local_port] == 80 } {
pool my-server-pool-80
}
}
}
It would probably be simpler and more efficient to create a separate port 80 and separate port 0 virtual server and avoid the iRule. Using a separate virtual server per protocol allows you to customize the traffic handling with profiles, idle timeouts, etc.
Aaron
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