Forum Discussion
Eugene_Wu_10813
Nimbostratus
Jan 23, 2007irule for simple forwarding
Hi all,
Sorry, I am quite new to using iRules. I actually need to do something quite simple, but not sure how to implement.
We are upgrading one of our servers that has multiple a...
Eugene_Wu_10813
Nimbostratus
Jan 23, 2007Hi,
will this irule work?
when CLIENT_ACCEPTED {
if { [matchclass [TCP::server_port] equals $::TEST_ports] } {
pool A_pool
} else {
pool B_pool
}
}
A_pool contains my New server, B_pool contains the old server. I basically want any traffic that matches TEST_ports to be directed to the new server, and everything else to go to the old server. Thanks!
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