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.108.71
If BOTH of these pool nodes go down, can I write an irule to redirect a telnet request to another node notifying the client that the system is unavailable?
Sorry if this is too noobish..
2 Replies
- Steve_85547
Nimbostratus
Stefan thanks!!
Duh! I should have known this.
Thanks for answering a stupid question.
I will try this...
Thanks again
Steve :0) - hoolio
Cirrostratus
You 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