Forum Discussion
Bhoopendra_2539
Nimbostratus
Nov 17, 2016Distribute client request on the basis of the health monitor with the help of Irule.
Hi All,
I need some assistance on below query, please.
I have set-up/scenario where I have to server the client on one server running 21 and 22 service port (ideally a pool member with any port, for...
Jinshu
Cirrus
Nov 17, 2016Create two seperate pools for port 21 and 22. Lets say port 21 uses the pool ftp_pool and port 22 uses ssh_pool. Create seperate health monitors for each pool to use TCP monitor and respective ports. Remove default pool from the virtual server 10.10.10.10:0 and attach below irule.
when CLIENT_ACCEPTED {
if {[TCP::local_port] == 21} {
pool ftp_pool
} elseif {[TCP::local_port] == 22} {
pool ssh_pool
}
}
-Jinshu
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