Forum Discussion
Steve_85547
Nimbostratus
Dec 16, 2010Telnet redirection??
Guys I have a VIP operating on all services. We use it for TCP 21 and TCP 23 172.25.240.20 * It has a pool assigned to it with 2 nodes: 172.25.108.70 172.25.1...
hoolio
Cirrostratus
Dec 17, 2010You could potentially send a TCP response with some text that tells the client that no servers are available:
TCP::respond
http://devcentral.f5.com/wiki/default.aspx/iRules/tcp__respond
Here's an untested example. If you try it, could you post back with your results?
when CLIENT_ACCEPTED {
Check if the default pool has no active members
if {[active_members [LB::server pool]] == 0 }{
Send a TCP response
TCP::respond "Servers are all down. Try later"
}
}
Thanks, 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